Trond Myklebust 831e6c2cc5 NFS: Fix deadlocks in nfs_scan_commit_list()
[ Upstream commit 64a93dbf25d3a1368bb58ddf0f61d0a92d7479e3 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-26 11:40:34 +01:00
..
2020-11-05 11:07:03 +01:00
2020-04-02 16:34:33 +02:00
2019-08-06 19:05:23 +02:00
2021-07-20 16:17:33 +02:00
2021-09-22 11:45:15 +02:00
2021-07-20 16:17:45 +02:00
2021-11-26 11:40:32 +01:00
2021-06-30 08:48:55 -04:00
2018-12-21 14:13:04 +01:00
2020-03-11 18:02:43 +01:00
2020-04-02 16:34:21 +02:00