diff options
author | Trond Myklebust <trondmy@gmail.com> | 2020-01-06 13:40:30 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2020-01-22 16:25:40 -0500 |
commit | 5011af4c698a95b4dc4e374b1ce3acd122a9170f (patch) | |
tree | 963befb8ca298ac85242f9916fc808de07c33420 /block/bounce.c | |
parent | 16f8f894108270fd99667f06bae6ebcdd0f4e4bf (diff) | |
download | linux-stable-5011af4c698a95b4dc4e374b1ce3acd122a9170f.tar.gz linux-stable-5011af4c698a95b4dc4e374b1ce3acd122a9170f.tar.bz2 linux-stable-5011af4c698a95b4dc4e374b1ce3acd122a9170f.zip |
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>
Diffstat (limited to 'block/bounce.c')
0 files changed, 0 insertions, 0 deletions