summary refs log tree commit diff
path: root/fs/nfs/pnfs_nfs.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2021-10-04 15:44:16 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2021-10-10 11:05:54 +0200
commit64a93dbf25d3a1368bb58ddf0f61d0a92d7479e3 (patch)
tree8a6c772d769bb023cdfb20b7a76dbe719dc1ddf5 /fs/nfs/pnfs_nfs.c
parent110cb2d2f9326030f13b7ec85d6d482934ea5462 (diff)
downloadlinux-64a93dbf25d3a1368bb58ddf0f61d0a92d7479e3.tar.gz
NFS: Fix deadlocks in nfs_scan_commit_list()
Partially revert commit 2ce209c42c01 ("NFS: Wait for requests that are
locked on the commit list"), since it can lead to deadlocks between
commit requests and nfs_join_page_group().
For now we should assume that any locked requests on the commit list are
either about to be removed and committed by another task, or the writes
they describe are about to be retransmitted. In either case, we should
not need to worry.

Fixes: 2ce209c42c01 ("NFS: Wait for requests that are locked on the commit list")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/pnfs_nfs.c')
0 files changed, 0 insertions, 0 deletions