Skip to content
Commit 64a93dbf authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Fix deadlocks in nfs_scan_commit_list()



Partially revert commit 2ce209c4 ("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: 2ce209c4 ("NFS: Wait for requests that are locked on the commit list")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 110cb2d2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment