io_uring: inform block layer of how many requests we are submitting
authorJens Axboe <axboe@kernel.dk>
Wed, 6 Oct 2021 17:01:42 +0000 (11:01 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 Oct 2021 11:49:56 +0000 (05:49 -0600)
commit5ca7a8b3f698b111729ed8e133b14e30f961de0f
tree978525f96563e546a0154bda07be0bac7a4487cc
parent88459b50b42a4bd58e528006663afabd0b8652f2
io_uring: inform block layer of how many requests we are submitting

The block layer can use this knowledge to make smarter decisions on
how to handle the request, if it knows that N more may be coming. Switch
to using blk_start_plug_nr_ios() to pass in that information.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c