summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/ifile.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-01-30 16:41:40 +0100
committerJens Axboe <axboe@kernel.dk>2019-01-31 16:25:09 +0100
commit9a6d5488002fdca7134a0e59b0ae252f61042810 (patch)
treeda65822cbac6defce676db665ea2ffb4cb89903b /fs/nilfs2/ifile.h
parentblk-mq: fix a hung issue when fsync (diff)
downloadlinux-9a6d5488002fdca7134a0e59b0ae252f61042810.tar.xz
linux-9a6d5488002fdca7134a0e59b0ae252f61042810.zip
ide: ensure atapi sense request aren't preempted
There's an issue with how sense requests are handled in IDE. If ide-cd encounters an error, it queues a sense request. With how IDE request handling is done, this is the next request we need to handle. But it's impossible to guarantee this, as another request could come in between the sense being queued, and ->queue_rq() being run and handling it. If that request ALSO fails, then we attempt to doubly queue the single sense request we have. Since we only support one active request at the time, defer request processing when a sense request is queued. Fixes: 600335205b8d "ide: convert to blk-mq" Reported-by: He Zhe <zhe.he@windriver.com> Tested-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/nilfs2/ifile.h')
0 files changed, 0 insertions, 0 deletions