commit | 5011af4c698a95b4dc4e374b1ce3acd122a9170f | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trondmy@gmail.com> | Mon Jan 06 13:40:30 2020 -0500 |
committer | J. Bruce Fields <bfields@redhat.com> | Wed Jan 22 16:25:40 2020 -0500 |
tree | 963befb8ca298ac85242f9916fc808de07c33420 | |
parent | 16f8f894108270fd99667f06bae6ebcdd0f4e4bf [diff] |
nfsd: Fix stable writes Strictly speaking, a stable write error needs to reflect the write + the commit of that write (and only that write). To ensure that we don't pick up the write errors from other writebacks, add a rw_semaphore to provide exclusion. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>