[PATCHv2 1/3] block: introduce rq_list_for_each_safe macro
Christoph Hellwig
hch at lst.de
Wed Dec 29 09:39:02 PST 2021
On Mon, Dec 27, 2021 at 08:41:36AM -0800, Keith Busch wrote:
> While iterating a list, a particular request may need to be removed for
> special handling. Provide an iterator that can safely handle that.
Looks good:
Reviewed-by: Christoph Hellwig <hch at lst.de>
(except for the fact that it, just like the other rq_list helpers
really should go into blk-mq.h, where all request related bits moved
early in this cycle)
More information about the Linux-nvme
mailing list