commit | 7f27392cd4cbcadeeaff9eedebcaec8fae9aec8e | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Thu Jul 09 18:40:01 2015 +0200 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Sat Jul 11 16:16:16 2015 +0200 |
tree | c7533a097acf5501b5a0451cc713feb3bcefc597 | |
parent | df9cecc1a36d70ec09d34e83bad452064754fdc4 [diff] |
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>