Re: [PATCH V2 3/3] blk-mq: centralise related handling into blk_mq_get_driver_tag
From: Christoph Hellwig <hch@infradead.org>
Date: 2020-06-30 13:39:51
From: Christoph Hellwig <hch@infradead.org>
Date: 2020-06-30 13:39:51
On Tue, Jun 30, 2020 at 03:11:08PM +0800, Ming Lei wrote:
Move .nr_active update and request assignment into blk_mq_get_driver_tag(), all are good to do during getting driver tag. Meantime blk-flush related code is simplified and flush request needn't to update the request table manually any more.
As mentioned last time: BLK_MQ_REQ_INTERNAL is gone in the latest block tree, so this won't apply.