aio: add submission side request cache
authorJens Axboe <axboe@kernel.dk>
Tue, 27 Nov 2018 16:13:45 +0000 (09:13 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 4 Dec 2018 17:13:08 +0000 (10:13 -0700)
commit299bff910dce622b1e47fb088216bd441de3c8b6
tree2735c423bcace3e7faab1d5da15d5df5727271ef
parent9d60c04e9470fefd80dc0149d40628e311dcc267
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