mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v8 0/2] nvme-tcp: allow setting per-queue io_cpu through sysfs
@ 2026-11-07  9:53 Saravanan D
  2026-11-07  9:53 ` [PATCH v8 1/2] nvme: add per-queue sysfs directories Saravanan D
  2026-11-07  9:53 ` [PATCH v8 2/2] nvme-tcp: allow setting per-queue io_cpu through sysfs Saravanan D
  0 siblings, 2 replies; 3+ messages in thread
From: Saravanan D @ 2026-11-07  9:53 UTC (permalink / raw)
  To: linux-nvme
  Cc: kbusch, hch, sagi, axboe, nilay, dwagner, sgogte, hare, hare,
	linux-kernel, iyamahata, kiyer, ganbalagane, sjpark, bchen,
	Saravanan D

On hosts that partition their CPUs after connect time, the connect
time io_cpu selection can place a queue's socket work on CPUs owned by
another workload. This series lets a control plane set each queue's
io_cpu through /sys/class/nvme/nvmeX/queues/<qid>/. Patch 1 adds the
core helpers, patch 2 the nvme-tcp attributes.

Changes since v7 [1]:
- nvme_add_queue_info() now calls kobject_del() when
  sysfs_create_groups() fails, so the failed queue's <qid> directory
  is removed before the error returns (Sashiko, Daniel).
- Rebased onto the current nvme-7.4.

The blktests patch covering the interface follows in this thread. It
is now nvme/081, since other pending blktests patches use nvme/076 to
nvme/080.

[1] https://lore.kernel.org/linux-nvme/cover.1793800758.git.saravanand@crusoe.ai/

Saravanan D (2):
  nvme: add per-queue sysfs directories
  nvme-tcp: allow setting per-queue io_cpu through sysfs

 Documentation/ABI/stable/sysfs-nvme |  31 ++++++
 drivers/nvme/host/core.c            |  12 ++
 drivers/nvme/host/nvme.h            |  25 +++++
 drivers/nvme/host/sysfs.c           |  90 +++++++++++++++
 drivers/nvme/host/tcp.c             | 167 ++++++++++++++++++++++++----
 5 files changed, 305 insertions(+), 20 deletions(-)


base-commit: 687f3014afcd5826fa3d8f40b445f647b5a379b6
-- 
2.56.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-07  9:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-07  9:53 [PATCH v8 0/2] nvme-tcp: allow setting per-queue io_cpu through sysfs Saravanan D
2026-11-07  9:53 ` [PATCH v8 1/2] nvme: add per-queue sysfs directories Saravanan D
2026-11-07  9:53 ` [PATCH v8 2/2] nvme-tcp: allow setting per-queue io_cpu through sysfs Saravanan D

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®