Commit 45ab2cc3 authored by Trond Myklebust's avatar Trond Myklebust Committed by Greg Kroah-Hartman
Browse files

Revert "nfs: don't reuse partially completed requests in nfs_lock_and_join_requests"



[ Upstream commit 66f9dac9 ]

This reverts commit b571cfcb.

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: default avatarIgor Raits <igor@gooddata.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=219508


Fixes: b571cfcb ("nfs: don't reuse partially completed requests in nfs_lock_and_join_requests")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ef92f44e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment