Repository navigation
Commit 3e7b08e
NFS: Fix deadlocks in nfs_scan_commit_list()
[ Upstream commit 64a93db ]
Partially revert commit 2ce209c ("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: 2ce209c ("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>1 parent 1494389 commit 3e7b08e
1 file changed
Lines changed: 2 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1034 | 1034 | | |
1035 | 1035 | | |
1036 | 1036 | | |
1037 | | - | |
1038 | 1037 | | |
1039 | 1038 | | |
1040 | 1039 | | |
1041 | | - | |
1042 | | - | |
1043 | | - | |
1044 | | - | |
1045 | | - | |
1046 | | - | |
1047 | | - | |
1048 | | - | |
1049 | | - | |
1050 | | - | |
1051 | 1040 | | |
1052 | | - | |
1053 | | - | |
1054 | | - | |
1055 | | - | |
| 1041 | + | |
1056 | 1042 | | |
1057 | 1043 | | |
1058 | 1044 | | |
| |||
1924 | 1910 | | |
1925 | 1911 | | |
1926 | 1912 | | |
| 1913 | + | |
1927 | 1914 | | |
1928 | 1915 | | |
1929 | 1916 | | |
| |||
0 commit comments