Commit c634947
committed
nvme: add fallback support for block vs char device to flush command
Also the flush commands depends operating on a block device. The kernel
lacks the fallback support in the NVME_IOCTL_IO64_CMD to lookup the
namespace.
Refactor the fallback from the dsm command and reuse it for flush as
well.
Signed-off-by: Daniel Wagner <[email protected]>1 parent 9c218af commit c634947
1 file changed
Lines changed: 43 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
448 | 484 | | |
449 | 485 | | |
450 | 486 | | |
| |||
7364 | 7400 | | |
7365 | 7401 | | |
7366 | 7402 | | |
7367 | | - | |
7368 | | - | |
7369 | | - | |
7370 | | - | |
7371 | | - | |
7372 | | - | |
7373 | | - | |
7374 | | - | |
7375 | | - | |
7376 | | - | |
7377 | | - | |
7378 | | - | |
7379 | | - | |
7380 | | - | |
7381 | | - | |
7382 | | - | |
7383 | | - | |
7384 | | - | |
7385 | | - | |
7386 | | - | |
7387 | | - | |
| 7403 | + | |
| 7404 | + | |
| 7405 | + | |
7388 | 7406 | | |
7389 | 7407 | | |
7390 | 7408 | | |
| |||
7681 | 7699 | | |
7682 | 7700 | | |
7683 | 7701 | | |
| 7702 | + | |
| 7703 | + | |
| 7704 | + | |
| 7705 | + | |
7684 | 7706 | | |
7685 | 7707 | | |
7686 | 7708 | | |
| |||
0 commit comments