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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 15 May 2019 22:07:16 +0000 (23:07 +0100)
commit64217c9d4eefb7842579e2db1f84af5bafeb8be6
treefdb205d537cbaafa5b0a333a404d5b0e5907b2cc
parent3e4d3ef12321e0d16ba5ae2778704ac668face71
aio: don't zero entire aio_kiocb aio_get_req()

commit 2bc4ca9bb600cbe36941da2b2a67189fc4302a04 upstream.

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>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name 0004-aio-don-t-zero-entire-aio_kiocb-aio_get_req.patch
fs/aio.c