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>
Sun, 6 Jan 2019 20:52:49 +0000 (13:52 -0700)
commit388726377e26e9936192af0ce714f66edcc32e48
tree06c463e357379895ff0acf5595f8991bcbc50363
parent21c5869a80b8ff25541fb498b34a592d31bc2927
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