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

Christoph Hellwig hch at infradead.org
Mon Jan 10 17:35:22 UTC 2022


On Mon, Jan 10, 2022 at 03:51:40PM +0800, Ming Lei wrote:
> Add block layer API of resubmit_bio_noacct() for handling blk-throttle
> iops limit correctly. Typical use case is that bio split, and it isn't
> good to export blk_throtl_charge_bio_split() for drivers, so add new API
> for serving such purpose.

Umm, submit_bio_noacct is meant exactly for this case of resubmitting
a bio.  We should not need another API for that.




More information about the dm-devel mailing list