aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2020-09-14 15:30:38 +0000
committerJens Axboe <[email protected]>2020-09-21 13:50:56 +0000
commitf5cac8b156e8b7b67bb0fdfd19900855bf9569f3 (patch)
treea54a7b2a1818cfb0b2996d6683a2d8620b17113a /net/switchdev/switchdev.c
parentio_uring: don't re-setup vecs/iter in io_resumit_prep() is already there (diff)
downloadkernel-f5cac8b156e8b7b67bb0fdfd19900855bf9569f3.tar.gz
kernel-f5cac8b156e8b7b67bb0fdfd19900855bf9569f3.zip
io_uring: don't use retry based buffered reads for non-async bdev
Some block devices, like dm, bubble back -EAGAIN through the completion handler. We check for this in io_read(), but don't honor it for when we have copied the iov. Return -EAGAIN for this case before retrying, to force punt to io-wq. Fixes: bcf5a06304d6 ("io_uring: support true async buffered reads, if file provides it") Reported-by: Zorro Lang <[email protected]> Tested-by: Zorro Lang <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions