RFC nvme: introduce a new flag NVME_ADMIN_QID
Get series with b4
b4 am [email protected]Versions newest first
- 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.
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_QIDfor admin queue. Now that, all drivers in host or target are use index '0' as admin queues. Thus, we can use a flagNVME_ADMIN_QIDinstead of using '0', which can make code more easy to read and understand.This patchset is RFC, and it just use
NVME_ADMIN_QIDfor 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.