nvme and blk-mq hot plug fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest12 patches 0 repliesNew
- v2 posting 2/20 of 10 patches 0 repliesSuperseded
- v2 posting 1/210 patches 0 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | blk-mq: Wake tasks entering queue on dyingblock/ | +1 | 0 replies | |
| 2/12 | blk-mq: Export if requests were startedblock/ include/ | +7 | 0 replies | |
| 3/12 | blk-mq: Let drivers cancel requeue_workblock/ include/ | +7 | 0 replies | |
| 4/12 | blk-mq: Add helper to abort requeued requestsblock/ include/ | +21 | 0 replies | |
| 5/12 | blk-mq: Allow requests to never expireblock/ block/ include/ | +8 | 0 replies | |
| 6/12 | blk-mq: End unstarted requests on a dying queueblock/ | +6 | 0 replies | |
| 7/12 | NVMe: Start all requestsdrivers/ | +12 | 0 replies | |
| 8/12 | NVMe: Reference count admin queue usagedrivers/ | +14 | 0 replies | |
| 9/12 | NVMe: Admin queue removal handlingdrivers/ | +21 | 0 replies | |
| 10/12 | NVMe: Command abort handling fixesdrivers/ | +13 | 0 replies | |
| 11/12 | NVMe: Start and stop h/w queues on resetdrivers/ | +41 | 0 replies | |
| 12/12 | NVMe: Fix locking on abort handlingdrivers/ | +19 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCHv3 00/12] nvme and blk-mq hot plug fixes
Changes since version 2:
Attribute patch from Jens. There was no change log with the diff, so I just made one up. You're a better wordsmith so I won't be feel bad if you modify it.
Added new cmd_flag for REQ_NO_TIMEOUT, as opposed to using a magic value for "rq->timeout" from v2.
Fixed the irq save/restore locking when checking for stopped queue in req_completion requeue.
I noticed the timeout handling was accessing unlocked queues and dev list nodes, so I added one last patch for that.
I split the admin queue reference count into its own patch. The previous patch was changing too many logically separate things.
I put a "FIXME" in the timeout handling on a failed shutdown to speed things up. I know how to fix this but it's a more radical change that can go in a different series; making hot-plug and resets work safely is a higher priority.
Jens Axboe (1):
blk-mq: Add helper to abort requeued requests
Keith Busch (11):
blk-mq: Wake tasks entering queue on dying
blk-mq: Export if requests were started
blk-mq: Let drivers cancel requeue_work
blk-mq: Allow requests to never expire
blk-mq: End unstarted requests on a dying queue
NVMe: Start all requests
NVMe: Reference count admin queue usage
NVMe: Admin queue removal handling
NVMe: Command abort handling fixes
NVMe: Start and stop h/w queues on reset
NVMe: Fix locking on abort handling
block/blk-mq.c | 44 ++++++++++++- block/blk-timeout.c | 3 + drivers/block/nvme-core.c | 158 ++++++++++++++++++++++++++++++++------------- include/linux/blk-mq.h | 3 + include/linux/blk_types.h | 2 + 5 files changed, 164 insertions(+), 46 deletions(-)
Signature · 1 line
1.7.10.4