fs: add kiocb alloc cache flag
authorJens Axboe <axboe@kernel.dk>
Tue, 10 Aug 2021 15:29:55 +0000 (09:29 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Aug 2021 19:44:22 +0000 (13:44 -0600)
commit6c7ef543df909dbdcd8cb24ef30627cba62a4e91
tree2279bb50e6fd46a7723647cfaa3e61302f866c96
parentda521626ac620d8719d674a48b8ec3620eefd42a
fs: add kiocb alloc cache flag

If this kiocb can safely use the polled bio allocation cache, then this
flag must be set. Generally this can be set for polled IO, where we will
not see IRQ completions of the request.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/fs.h