nvme-tcp: allow setting per-queue io_cpu through sysfs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest2 patches 4 repliesIn review
- v72 patches 3 repliesSuperseded
- v62 patches 5 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 | 2 patches | 8 replies | Superseded | |
| v4 | 2 patches | 6 replies | Superseded | |
| v3 | 1 patch | 6 replies | Superseded |
Patches in v8 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | nvme: add per-queue sysfs directoriesdrivers/ drivers/ drivers/ | +127 | 2 replies | |
| 2/2 | nvme-tcp: allow setting per-queue io_cpu through sysfsDocumentation/ drivers/ | +178 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Nilay Shroff | Hannes Reinecke |
|---|---|---|
| Series | R-b | |
| 1/2 | R-b | R-b |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v8 0/2] nvme-tcp: allow setting per-queue io_cpu through sysfs
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/[email protected]/
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
Signature · 1 line
2.56.0