Skip to content
Commit 486cf989 authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Jens Axboe
Browse files

blk-mq: Introduce blk_mq_reinit_tagset



The new nvme-rdma driver will need to reinitialize all the tags as part of
the error recovery procedure (realloc the tag memory region). Add a helper
in blk-mq for it that can iterate over all requests in a tagset to make
this easier.

Signed-off-by: default avatarSagi Grimberg <sagi@grimberg.me>
Tested-by: default avatarMing Lin <ming.l@ssi.samsung.com>
Reviewed-by: default avatarStephen Bates <Stephen.Bates@pmcs.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarSteve Wise <swise@opengridcomputing.com>
Tested-by: default avatarSteve Wise <swise@opengridcomputing.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent d9e46d5d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment