aboutsummaryrefslogtreecommitdiffstats
path: root/fs/locks.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2015-07-09 18:40:01 +0200
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-07-11 16:16:16 +0200
commit7f27392cd4cbcadeeaff9eedebcaec8fae9aec8e (patch)
treec7533a097acf5501b5a0451cc713feb3bcefc597 /fs/locks.c
parentpNFS: pnfs_roc_drain should return 'true' when sleeping (diff)
downloadlinux-dev-7f27392cd4cbcadeeaff9eedebcaec8fae9aec8e.tar.xz
linux-dev-7f27392cd4cbcadeeaff9eedebcaec8fae9aec8e.zip
pNFS: Fix races between return-on-close and layoutreturn.
If one or more of the layout segments reports an error during I/O, then we may have to send a layoutreturn to report the error back to the NFS metadata server. This patch ensures that the return-on-close code can detect the outstanding layoutreturn, and not preempt it. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/locks.c')
0 files changed, 0 insertions, 0 deletions