aio: separate out ring reservation from req allocation
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Nov 2018 22:57:42 +0000 (15:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 May 2019 07:58:58 +0000 (09:58 +0200)
commit730198c889d85db78058cfb57c1b41c65f55c94e
tree4d552ab8cac62a8fdf69aeb6f74e445c24401ce8
parentb3373253f0bab538a7521537dfcb73e731b3d732
aio: separate out ring reservation from req allocation

commit 432c79978c33ecef91b1b04cea6936c20810da29 upstream.

This is in preparation for certain types of IO not needing a ring
reserveration.

Signed-off-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>
fs/aio.c