Commit 8448828
Revert "nvme: make keep-alive synchronous operation"
This reverts commit d069236.
It was realized that the fix implemented to contain the race condition
among the keep alive task and the fabric shutdown code path in the commit
d06923670b5ia ("nvme: make keep-alive synchronous operation") is not
optimal. The reason being keep-alive runs under the workqueue and making
it synchronous would waste a workqueue context.
Furthermore, we later found that the above race condition is a regression
caused due to the changes implemented in commit a54a93d ("nvme: move
stopping keep-alive into nvme_uninit_ctrl()"). So we decided to revert the
commit d069236 ("nvme: make keep-alive synchronous operation") and
then fix the regression.
Link: https://lore.kernel.org/all/[email protected]/
Reviewed-by: Ming Lei <[email protected]>
Signed-off-by: Nilay Shroff <[email protected]>
Signed-off-by: Keith Busch <[email protected]>1 parent 6fad84a commit 8448828
1 file changed
+10
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1294 | 1294 | | |
1295 | 1295 | | |
1296 | 1296 | | |
1297 | | - | |
1298 | | - | |
| 1297 | + | |
| 1298 | + | |
1299 | 1299 | | |
| 1300 | + | |
1300 | 1301 | | |
1301 | 1302 | | |
1302 | 1303 | | |
| |||
1313 | 1314 | | |
1314 | 1315 | | |
1315 | 1316 | | |
| 1317 | + | |
| 1318 | + | |
1316 | 1319 | | |
1317 | 1320 | | |
1318 | 1321 | | |
1319 | 1322 | | |
1320 | | - | |
| 1323 | + | |
1321 | 1324 | | |
1322 | 1325 | | |
1323 | 1326 | | |
1324 | 1327 | | |
1325 | 1328 | | |
1326 | 1329 | | |
| 1330 | + | |
1327 | 1331 | | |
1328 | 1332 | | |
1329 | 1333 | | |
| |||
1332 | 1336 | | |
1333 | 1337 | | |
1334 | 1338 | | |
1335 | | - | |
1336 | 1339 | | |
1337 | 1340 | | |
1338 | 1341 | | |
| |||
1355 | 1358 | | |
1356 | 1359 | | |
1357 | 1360 | | |
1358 | | - | |
1359 | | - | |
1360 | | - | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
1361 | 1364 | | |
1362 | 1365 | | |
1363 | 1366 | | |
| |||
0 commit comments