aio: add submission side request cache
authorJens Axboe <axboe@kernel.dk>
Tue, 11 Dec 2018 23:28:53 +0000 (16:28 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 3 Jan 2019 15:14:02 +0000 (08:14 -0700)
commit7c2a2266ced0f5be7ebb652f25ad3a04052aea9f
tree5beb18a21a99bb8af508a1c90ace13fcde6f64ce
parent457f72cbe3eb7ee67e6ac7f3f74e04459b2ea5b7
aio: add submission side request cache

We have to add each submitted polled request to the io_context
poll_submitted list, which means we have to grab the poll_lock. We
already use the block plug to batch submissions if we're doing a batch
of IO submissions, extend that to cover the poll requests internally as
well.

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