aio: batch aio_kiocb allocation
authorJens Axboe <axboe@kernel.dk>
Tue, 4 Dec 2018 16:58:01 +0000 (09:58 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 4 Dec 2018 17:13:09 +0000 (10:13 -0700)
commitb1a656e0df096b97e6267bab8a661fafdaf4f97f
treeb1bb32747ea82df7f57c19573e3b3db61722ed90
parenta3992a03172a77cdd31a340365da74e822118ffd
aio: batch aio_kiocb allocation

Similarly to how we use the state->ios_left to know how many references
to get to a file, we can use it to allocate the aio_kiocb's we need in
bulk.

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