Commit 956fd46
NFSv4: Fix a state manager thread deadlock regression
Commit 4dc73c6 reintroduces the deadlock that was fixed by commit
aeabb3c ("NFSv4: Fix a NFSv4 state manager deadlock") because it
prevents the setup of new threads to handle reboot recovery, while the
older recovery thread is stuck returning delegations.
Fixes: 4dc73c6 ("NFSv4: keep state manager thread active if swap is enabled")
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>1 parent ed1cc05 commit 956fd46
2 files changed
Lines changed: 29 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10622 | 10622 | | |
10623 | 10623 | | |
10624 | 10624 | | |
10625 | | - | |
| 10625 | + | |
| 10626 | + | |
| 10627 | + | |
10626 | 10628 | | |
10627 | 10629 | | |
10628 | 10630 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1209 | 1209 | | |
1210 | 1210 | | |
1211 | 1211 | | |
| 1212 | + | |
| 1213 | + | |
1212 | 1214 | | |
1213 | | - | |
| 1215 | + | |
1214 | 1216 | | |
1215 | 1217 | | |
1216 | 1218 | | |
1217 | | - | |
1218 | | - | |
1219 | | - | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
1220 | 1227 | | |
1221 | | - | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
1222 | 1232 | | |
1223 | 1233 | | |
1224 | 1234 | | |
| |||
1235 | 1245 | | |
1236 | 1246 | | |
1237 | 1247 | | |
| 1248 | + | |
| 1249 | + | |
1238 | 1250 | | |
1239 | | - | |
1240 | 1251 | | |
1241 | 1252 | | |
1242 | 1253 | | |
| |||
2748 | 2759 | | |
2749 | 2760 | | |
2750 | 2761 | | |
2751 | | - | |
2752 | 2762 | | |
2753 | | - | |
| 2763 | + | |
| 2764 | + | |
| 2765 | + | |
2754 | 2766 | | |
2755 | 2767 | | |
2756 | 2768 | | |
2757 | | - | |
2758 | | - | |
| 2769 | + | |
| 2770 | + | |
| 2771 | + | |
| 2772 | + | |
2759 | 2773 | | |
2760 | 2774 | | |
| 2775 | + | |
2761 | 2776 | | |
2762 | | - | |
2763 | 2777 | | |
2764 | 2778 | | |
2765 | 2779 | | |
2766 | | - | |
| 2780 | + | |
2767 | 2781 | | |
2768 | 2782 | | |
2769 | 2783 | | |
| |||
0 commit comments