[dm-devel] [PATCH 1/2] block: add resubmit_bio_noacct()

Christoph Hellwig hch at infradead.org
Tue Jan 11 08:36:12 UTC 2022


On Mon, Jan 10, 2022 at 02:03:16PM -0500, Mike Snitzer wrote:
> Ming is lifting code out of __blk_queue_split() for reuse (by DM in
> this instance, because it has its own bio_split+bio_chain).
> 
> Are you saying submit_bio_noacct() should be made to call
> blk_throtl_charge_bio_split() and blk_throtl_charge_bio_split() simply
> return if not a split bio? (not sure bio has enough context to know,
> other than looking at some side-effect change from bio_chain)

Yes.




More information about the dm-devel mailing list