Commit dee83c1
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 f9c90d0 commit dee83c1
1 file changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7350 | 7350 | | |
7351 | 7351 | | |
7352 | 7352 | | |
| 7353 | + | |
| 7354 | + | |
| 7355 | + | |
| 7356 | + | |
| 7357 | + | |
| 7358 | + | |
| 7359 | + | |
| 7360 | + | |
| 7361 | + | |
| 7362 | + | |
| 7363 | + | |
| 7364 | + | |
| 7365 | + | |
| 7366 | + | |
| 7367 | + | |
| 7368 | + | |
| 7369 | + | |
| 7370 | + | |
| 7371 | + | |
| 7372 | + | |
| 7373 | + | |
| 7374 | + | |
7353 | 7375 | | |
7354 | 7376 | | |
7355 | 7377 | | |
| |||
0 commit comments