Re: [PATCH] aio: inform block layer of how many requests we are submitting

From: Christoph Hellwig
Date: Thu Jan 20 2022 - 04:03:59 EST


On Tue, Jan 18, 2022 at 05:17:44PM +0800, GuoYong Zheng wrote:
> After commit 47c122e35d7e ("block: pre-allocate requests if plug is
> started and is a batch"), block layer can make smarter request allocation
> if it know how many requests it need to submit, so switch to use
> blk_start_plug_nr_ios here to pass the number of requests we will submit.

Looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>