]> www.infradead.org Git - users/dwmw2/linux.git/commit
Revert "nfs: don't reuse partially completed requests in nfs_lock_and_join_requests"
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 5 Nov 2024 02:09:21 +0000 (21:09 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 18 Nov 2024 14:42:03 +0000 (09:42 -0500)
commit66f9dac9077c9c063552e465212abeb8f97d28a7
tree58e7882cb93e56b043f91defdfaacbb632ed4418
parent8f52caf9d231e77412766b48e5630a647e5ef774
Revert "nfs: don't reuse partially completed requests in nfs_lock_and_join_requests"

This reverts commit b571cfcb9dcac187c6d967987792d37cb0688610.

This patch appears to assume that if one request is complete, then the
others will complete too before unlocking. That is not a valid
assumption, since other requests could hit a non-fatal error or a short
write that would cause them not to complete.

Reported-by: Igor Raits <igor@gooddata.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=219508
Fixes: b571cfcb9dca ("nfs: don't reuse partially completed requests in nfs_lock_and_join_requests")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/write.c