nvme: wire-up support for async-passthru on char-device.
authorKanchan Joshi <joshi.k@samsung.com>
Mon, 20 Dec 2021 14:17:23 +0000 (19:47 +0530)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Dec 2021 16:38:24 +0000 (09:38 -0700)
commit457122c8214c46a6b179fb46d51c6fc967a6b5e0
tree3c92fb5f2e7572e86a9670bbdbdb3e693a68cc4c
parentbd97cfdab389dc073ab1cc26cf497f4feab81a99
nvme: wire-up support for async-passthru on char-device.

Introduce handlers for fops->async_cmd(), implementing async passthru
on char device (including the multipath one).
The handlers supports 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/20211220141734.12206-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