]> git.baikalelectronics.ru Git - kernel.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)
commitf7f1ecbd376671ae712307e9cd17bee174af0331
treeffa0da802600d0550043e195c102ea99c75637b5
parent880c19a9039638475e860a5209890e513387c081
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:

dbb3472440bd ("block: fix O_DIRECT error handling for bio fragments")
83fda0553a27 ("block: Fix __blkdev_direct_IO() for bio fragments")
b0485bcfa05b ("block: properly handle IOCB_NOWAIT for async O_DIRECT IO")
e94a4a8389a7 ("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