nvme: wire-up support for async-passthru on char-device.
authorKanchan Joshi <joshi.k@samsung.com>
Thu, 5 Aug 2021 12:55:35 +0000 (18:25 +0530)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Sep 2021 18:38:08 +0000 (12:38 -0600)
commit5cc445dd8df6e06f3482711aa590170450364393
treebdf10dbab13be3a31ed2c00188e4d15453b4d7f5
parent01776d9b6cac392e75eb5f69be84a47d32461486
nvme: wire-up support for async-passthru on char-device.

Introduce handlers for fops->uring_cmd(), implementing async passthru
on char device (including the multipath one).
The handlers supports NVME_IOCTL_IO_CMD and NVME_IOCTL_IO64_CMD.

Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
Signed-off-by: Anuj Gupta <anuj20.g@samsung.com>
Link: https://lore.kernel.org/r/20210805125539.66958-3-joshi.k@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c
drivers/nvme/host/ioctl.c
drivers/nvme/host/multipath.c
drivers/nvme/host/nvme.h