Skip to content

RFC nvme: introduce a new flag NVME_ADMIN_QID

Keith Busch linux-nvme 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest0 of 6 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 6 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH RFC 0/6] nvme: introduce a new flag NVME_ADMIN_QID
Quoted 10 lines · Yufen Yu

Hi, all

This patchset introduces a new flag NVME_ADMIN_QID for admin queue. Now that, all drivers in host or target are use index '0' as admin queues. Thus, we can use a flag NVME_ADMIN_QID instead of using '0', which can make code more easy to read and understand.

This patchset is RFC, and it just use NVME_ADMIN_QID for drivers in nvme host. I am not sure whether this patchset actually make sense. Any suggestion is welcome and thanks in advance.

IMO, this makes it harder to read anything that's using the 0 index in a loop.