]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: don't unconditionally set plug->nowait = true
authorJens Axboe <axboe@kernel.dk>
Fri, 25 Sep 2020 15:01:53 +0000 (09:01 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 25 Sep 2020 15:01:53 +0000 (09:01 -0600)
commit74bb568fcbc8c696cce1bb52280bd1339230f52b
treefd7fa1292547e03ebeb7c37d722ab80baa861dba
parent49b32ddc6cb2071c82ebaee1a88de03382a96dbf
io_uring: don't unconditionally set plug->nowait = true

This causes all the bios to be submitted with REQ_NOWAIT, which can be
problematic on either btrfs or on file systems that otherwise use a mix
of block devices where only some of them support it.

For now, just remove the setting of plug->nowait = true.

Reported-by: Dan Melnic <dmm@fb.com>
Reported-by: Brian Foster <bfoster@redhat.com>
Fixes: be6d4627241c ("io_uring: re-issue block requests that failed because of resources")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c