nvme: wire up async polling for io passthrough commands
Store a cookie during submission, and use that to implement completion-polling inside the ->uring_cmd_iopoll handler. This handler makes use of existing bio poll facility. Signed-off-by:Kanchan Joshi <joshi.k@samsung.com> Signed-off-by:
Anuj Gupta <anuj20.g@samsung.com> Link: https://lore.kernel.org/r/20220823161443.49436-5-joshi.k@samsung.com Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Showing
- drivers/nvme/host/core.c 1 addition, 0 deletionsdrivers/nvme/host/core.c
- drivers/nvme/host/ioctl.c 68 additions, 5 deletionsdrivers/nvme/host/ioctl.c
- drivers/nvme/host/multipath.c 1 addition, 0 deletionsdrivers/nvme/host/multipath.c
- drivers/nvme/host/nvme.h 2 additions, 0 deletionsdrivers/nvme/host/nvme.h
Loading
Please register or sign in to comment