Commit 0454a99
committed
ioctl: only use io_uring for char devices
The block devices io_uring interface is the generic block subsystem
interface and not the nvme one. Thus the nvme io_uring operation only
work on a char devices, e.g either nvme0 or ng0n1.
Reported-by: Yi Zhang <yi.zhang@redhat.com>
Reported-by: Shinichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Signed-off-by: Daniel Wagner <wagi@kernel.org>1 parent a4dad98 commit 0454a99
1 file changed
+10
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
| 455 | + | |
| 456 | + | |
455 | 457 | | |
456 | 458 | | |
457 | | - | |
458 | | - | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
459 | 465 | | |
460 | 466 | | |
461 | 467 | | |
| |||
477 | 483 | | |
478 | 484 | | |
479 | 485 | | |
480 | | - | |
| 486 | + | |
481 | 487 | | |
482 | 488 | | |
483 | 489 | | |
| |||
498 | 504 | | |
499 | 505 | | |
500 | 506 | | |
501 | | - | |
| 507 | + | |
502 | 508 | | |
503 | 509 | | |
504 | 510 | | |
| |||
0 commit comments