]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "NFSv4/flexfiles: Abort I/O early if the layout segment was invalidated"
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 16 Aug 2019 12:37:26 +0000 (08:37 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 26 Aug 2019 19:31:29 +0000 (15:31 -0400)
commit44dc4d044e363c8da576a83fefcbd63dd0aae8d3
treea8c5664d0bdf5d8563eeebb38868b24b75b31d0a
parent1b95b26b6f7acb9ae17066fe76d41f8731d8f532
Revert "NFSv4/flexfiles: Abort I/O early if the layout segment was invalidated"

This reverts commit 8c74114ba2448979e4cb561ecc0720f7ce736895.
The mechanism for aborting I/O is racy, since we are not guaranteed that
the request is asleep while we're changing both task->tk_status and
task->tk_action.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: stable@vger.kernel.org # v5.1
fs/nfs/flexfilelayout/flexfilelayout.c
include/linux/sunrpc/sched.h
net/sunrpc/xprt.c