diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-10-04 22:44:16 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-10-10 12:05:54 +0300 |
commit | 64a93dbf25d3a1368bb58ddf0f61d0a92d7479e3 (patch) | |
tree | 8a6c772d769bb023cdfb20b7a76dbe719dc1ddf5 /include/linux/nfs_fs.h | |
parent | 110cb2d2f9326030f13b7ec85d6d482934ea5462 (diff) | |
download | linux-64a93dbf25d3a1368bb58ddf0f61d0a92d7479e3.tar.xz |
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 'include/linux/nfs_fs.h')
0 files changed, 0 insertions, 0 deletions