[PATCH 0/4] nvmet: support polling queue task for bio request

From: Ping Gan
Date: Mon Sep 18 2023 - 23:27:46 EST


Since nvme target currently does not support to submit bio to a polling
queue, the bio's completion relies on system interrupt. But when there
is high workload in system and the competition is very high, so it makes
sense to add polling queue task to submit bio to disk's polling queue
and poll the completion queue of disk.

Ping Gan (4):
nvmet: Add nvme target polling queue task parameters
nvmet: Add polling queue task for nvme target
nvmet: support bio polling queue request
nvme-core: Get lowlevel disk for target polling queue task

drivers/nvme/host/multipath.c | 20 +
drivers/nvme/target/Makefile | 2 +-
drivers/nvme/target/core.c | 55 +-
drivers/nvme/target/io-cmd-bdev.c | 243 ++++++++-
drivers/nvme/target/nvmet.h | 13 +
drivers/nvme/target/polling-queue-thread.c | 594 +++++++++++++++++++++
6 files changed, 895 insertions(+), 32 deletions(-)
create mode 100644 drivers/nvme/target/polling-queue-thread.c

--
2.26.2