]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
block: remove REQ_NOWAIT_INLINE
authorJens Axboe <axboe@kernel.dk>
Thu, 15 Aug 2019 17:09:16 +0000 (11:09 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 15 Aug 2019 17:09:16 +0000 (11:09 -0600)
commit7b6620d7db566a46f49b4b9deab9fa061fd4b59b
treeffa0da802600d0550043e195c102ea99c75637b5
parent99c79f6692ccdc42e04deea8a36e22bb48168a62
block: remove REQ_NOWAIT_INLINE

We had a few issues with this code, and there's still a problem around
how we deal with error handling for chained/split bios. For now, just
revert the code and we'll try again with a thoroug solution. This
reverts commits:

e15c2ffa1091 ("block: fix O_DIRECT error handling for bio fragments")
0eb6ddfb865c ("block: Fix __blkdev_direct_IO() for bio fragments")
6a43074e2f46 ("block: properly handle IOCB_NOWAIT for async O_DIRECT IO")
893a1c97205a ("blk-mq: allow REQ_NOWAIT to return an error inline")

Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
fs/block_dev.c
include/linux/blk_types.h