Skip to content

nvme: update way to get qid in trace

Minwoo Im linux-nvme 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4nvme: simplify nvme_req_qid()drivers/nvme/host/nvme.h+1 -10 replies
2/4nvme: check admin queue with ctrl->admin_q, not rq_diskdrivers/nvme/host/nvme.h+9 -70 replies
3/4nvme: lightnvm: trace opcode namedrivers/nvme/host/lightnvm.c include/linux/nvme.h+9 -71 reply
3/4nvme: lightnvm: trace opcode name+0 -00 replies
4/4nvme: lightnvm: trace opcode name of I/O commands for 2.0include/linux/nvme.h+11 -11 reply
4/4nvme: lightnvm: trace opcode name of I/O commands for 2.0+0 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] nvme: update way to get qid in trace

Hi All,

This series is mainly to support trace for lightnvm commands. To make it support:

The first patch just simplify the exactly same operations in short by have queue_num directly. The second one modified the condition of how to figure out whether the given request is for admin queue or not. In case of lightnvm, req->rq_disk might be NULL even it's a NVM command so that we can compare the admin request queue itself.

The third one added lightnvm admin commands to nvme.h from the lightnvm core module to support for trace of opcode names. The fourth one added NVM I/O commands for the lightnvm for the trace.

Minwoo Im (4):
nvme: simplify nvme_req_qid()
nvme: check admin queue with ctrl->admin_q, not rq_disk
nvme: lightnvm: trace opcode name
nvme: lightnvm: trace opcode name of I/O commands for 2.0

 drivers/nvme/host/lightnvm.c |  6 ------
 drivers/nvme/host/nvme.h     | 16 +++++++++-------
 include/linux/nvme.h         | 22 ++++++++++++++++++++--
 3 files changed, 29 insertions(+), 15 deletions(-)
Signature · 1 line
2.17.1