Commit a4afe03
committed
NFSv4: Don't hold the layoutget locks across multiple RPC calls
jira LE-3201
Rebuild_History Non-Buildable kernel-rt-4.18.0-553.22.1.rt7.363.el8_10
commit-author Trond Myklebust <trond.myklebust@hammerspace.com>
commit 6949493
When doing layoutget as part of the open() compound, we have to be
careful to release the layout locks before we can call any further RPC
calls, such as setattr(). The reason is that those calls could trigger
a recall, which could deadlock.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
(cherry picked from commit 6949493)
Signed-off-by: Jonathan Maple <jmaple@ciq.com>1 parent 7abe14b commit a4afe03
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3117 | 3117 | | |
3118 | 3118 | | |
3119 | 3119 | | |
| 3120 | + | |
| 3121 | + | |
| 3122 | + | |
| 3123 | + | |
3120 | 3124 | | |
3121 | 3125 | | |
3122 | 3126 | | |
| |||
0 commit comments