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>
Thu, 3 Jan 2019 15:14:03 +0000 (08:14 -0700)
commit59c8c035988fe07cc1cccae5a7ebd7a5544dd7af
tree9f6425da4eca8a7b1672f625671b2f5346abb067
parentedefceef2549c2cc99cee10b89d416e54c7bea21
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