]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit055d775c421bcfebfca5f094c210fde46a952f8d
tree978525f96563e546a0154bda07be0bac7a4487cc
parent01de3c69ce8519d821d62f53a0529e7f52b377bf
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