Skip to content

NVMe Async Event Notification updates

Keith Busch linux-nvme 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7nvme/fc: There is only one AEN requestdrivers/nvme/host/fc.c+61 -841 reply
2/7nvme/fc: Fix admin queue depth setupdrivers/nvme/host/fc.c+4 -53 replies
2/7nvme/fc: Fix admin queue depth setup+0 -00 replies
3/7nvme/fc: remove unused "queue_size" fielddrivers/nvme/host/fc.c+3 -62 replies
4/7nvme: Centralize blk-mq tag and AEN countsdrivers/nvme/host/fc.c drivers/nvme/host/nvme.h drivers/nvme/host/pci.c +3 more+17 -422 replies
5/7nvme: Only one AEN requestdrivers/nvme/host/core.c drivers/nvme/host/fc.c drivers/nvme/host/nvme.h +3 more+9 -372 replies
6/7nvme: Unexport starting async event workdrivers/nvme/host/core.c drivers/nvme/host/nvme.h+1 -31 reply
6/7nvme: Unexport starting async event work+0 -00 replies
7/7nvme: Send change uevent when AEN completesdrivers/nvme/host/core.c drivers/nvme/host/nvme.h+17 -03 replies
7/7nvme: Send change uevent when AEN completes+0 -00 replies
7/7nvme: Send change uevent when AEN completes+0 -01 reply
7/7nvme: Send change uevent when AEN completes+0 -00 replies
7/7nvme: Send change uevent when AEN completes+0 -03 replies
7/7nvme: Send change uevent when AEN completes+0 -01 reply
7/7nvme: Send change uevent when AEN completes+0 -01 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/7] NVMe Async Event Notification updates

This culminates with udev handling for AEN, but implementing this was much easier without all the unreachable handling for multiple AEN requests.

Some background on why single AEN's are used today: we can't tell blk-mq about those reserved tags lest we deadlock a freeze. These requests are not worth the trouble to implement tag accounting required for multiple requests outstanding, and one AEN request is sufficient for all uses anyway.

I don't have a setup to try the nvme/fc parts, so while I think this looks correct, it's only compile tested.

Keith Busch (7):
nvme/fc: There is only one AEN request
nvme/fc: Fix admin queue depth setup
nvme/fc: remove unused "queue_size" field
nvme: Centralize blk-mq tag and AEN counts
nvme: Only one AEN request
nvme: Unexport starting async event work
nvme: Send change uevent when AEN completes

 drivers/nvme/host/core.c   |  46 ++++++------
 drivers/nvme/host/fc.c     | 175 ++++++++++++++++++---------------------------
 drivers/nvme/host/nvme.h   |   6 +-
 drivers/nvme/host/pci.c    |  10 +--
 drivers/nvme/host/rdma.c   |  19 ++---
 drivers/nvme/target/loop.c |  16 ++---
 include/linux/nvme.h       |   7 ++
 7 files changed, 107 insertions(+), 172 deletions(-)
Signature · 1 line
2.5.5