aio: separate out ring reservation from req allocation
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Nov 2018 22:57:42 +0000 (15:57 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 22 Dec 2018 15:22:56 +0000 (08:22 -0700)
commit64c10ee7e83588572d66e2e3a7a2abae27cf31c7
tree63b7dd99d723848d5559e13779cabd5805184ad0
parentac0ecc4af4103771e64eaa4026d73b978081ba98
aio: separate out ring reservation from req allocation

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

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