aio: don't zero entire aio_kiocb aio_get_req()
authorJens Axboe <axboe@kernel.dk>
Tue, 4 Dec 2018 16:44:49 +0000 (09:44 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 22 Dec 2018 15:22:59 +0000 (08:22 -0700)
commit0012854fe02d63e11ee6f49a6c0c8cc479278853
tree027c0368c3e9235684a631780ff072f9542ee329
parent64c10ee7e83588572d66e2e3a7a2abae27cf31c7
aio: don't zero entire aio_kiocb aio_get_req()

It's 192 bytes, fairly substantial. Most items don't need to be cleared,
especially not upfront. Clear the ones we do need to clear, and leave
the other ones for setup when the iocb is prepared and submitted.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/aio.c