Skip to content

RFC nvme uring passthrough diet

Keith Busch linux-block linux-nvme 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nvme: skip block cgroups for passthrough commandsdrivers/nvme/host/ioctl.c include/linux/bio.h+7 -23 replies
2/3nvme: fix cdev name leakdrivers/nvme/host/core.c+9 -10 replies
3/3nvme: create special request queue for cdevdrivers/nvme/host/core.c drivers/nvme/host/ioctl.c drivers/nvme/host/nvme.h+28 -63 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/3] nvme uring passthrough diet

From: Keith Busch <[email protected]>

When you disable all the optional features in your kernel config and request queue, it looks like the normal request dispatching is just as fast as any attempts to bypass it. So let's do that instead of reinventing everything.

This doesn't require additional queues or user setup. It continues to work with multiple threads and processes, and relies on the well tested queueing mechanisms that track timeouts, handle tag exhuastion, and sync with controller state needed for reset control, hotplug events, and other error handling.

Marked RFC right now because I haven't tested out multipath or teardown.

Keith Busch (3):
nvme: skip block cgroups for passthrough commands
nvme: fix cdev name leak
nvme: create special request queue for cdev

 drivers/nvme/host/core.c  | 39 ++++++++++++++++++++++++++++++++++-----
 drivers/nvme/host/ioctl.c |  6 +++---
 drivers/nvme/host/nvme.h  |  1 +
 include/linux/bio.h       |  7 ++++++-
 4 files changed, 44 insertions(+), 9 deletions(-)
Signature · 1 line
2.34.1