Commit 0dd6fff
Christoph Hellwig
nvme: bring back auto-removal of deleted namespaces during sequential scan
Bring back the check of the Identify Namespace return value for the legacy NVMe 1.0-style sequential scanning. While NVMe 1.0 does not support namespace management, there are "modern" cloud solutions like Google Cloud Platform that claim the obsolete 1.0 compliance for no good reason while supporting proprietary sideband namespace management. Fixes: 1a893c2 ("nvme: refactor namespace probing") Reported-by: Nils Hanke <nh@edgeless.systems> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Tested-by: Nils Hanke <nh@edgeless.systems>1 parent c0c33b9 commit 0dd6fff
1 file changed
+18
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
1402 | 1403 | | |
1403 | 1404 | | |
1404 | 1405 | | |
1405 | | - | |
| 1406 | + | |
1406 | 1407 | | |
1407 | | - | |
1408 | | - | |
1409 | | - | |
1410 | | - | |
1411 | | - | |
1412 | | - | |
1413 | | - | |
1414 | | - | |
1415 | 1408 | | |
1416 | 1409 | | |
1417 | 1410 | | |
| |||
1425 | 1418 | | |
1426 | 1419 | | |
1427 | 1420 | | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
1428 | 1428 | | |
1429 | 1429 | | |
1430 | 1430 | | |
| |||
4429 | 4429 | | |
4430 | 4430 | | |
4431 | 4431 | | |
| 4432 | + | |
4432 | 4433 | | |
4433 | 4434 | | |
4434 | 4435 | | |
| |||
4445 | 4446 | | |
4446 | 4447 | | |
4447 | 4448 | | |
4448 | | - | |
4449 | | - | |
4450 | | - | |
4451 | | - | |
4452 | | - | |
4453 | | - | |
4454 | | - | |
| 4449 | + | |
| 4450 | + | |
| 4451 | + | |
| 4452 | + | |
| 4453 | + | |
| 4454 | + | |
| 4455 | + | |
4455 | 4456 | | |
4456 | 4457 | | |
4457 | 4458 | | |
4458 | 4459 | | |
4459 | 4460 | | |
4460 | | - | |
| 4461 | + | |
4461 | 4462 | | |
4462 | 4463 | | |
4463 | 4464 | | |
| |||
0 commit comments