Commit 9c218af
committed
nvme: add fallback support for block vs char device to dsm command
The dsm command is only supported by the block device. The kernel has
support to map NVME_IOCTL_IO_CMD when user spaces uses the char device.
Though for NVME_IOCTL_IO64_CMD this support is missing and wont be added
to the kernel.
Thus add the fallback code to userland.
Signed-off-by: Daniel Wagner <[email protected]>1 parent fca3dd6 commit 9c218af
1 file changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7364 | 7364 | | |
7365 | 7365 | | |
7366 | 7366 | | |
| 7367 | + | |
| 7368 | + | |
| 7369 | + | |
| 7370 | + | |
| 7371 | + | |
| 7372 | + | |
| 7373 | + | |
| 7374 | + | |
| 7375 | + | |
| 7376 | + | |
| 7377 | + | |
| 7378 | + | |
| 7379 | + | |
| 7380 | + | |
| 7381 | + | |
| 7382 | + | |
| 7383 | + | |
| 7384 | + | |
| 7385 | + | |
| 7386 | + | |
| 7387 | + | |
| 7388 | + | |
7367 | 7389 | | |
7368 | 7390 | | |
7369 | 7391 | | |
| |||
0 commit comments