Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
io_uring: retry raw bdev writes if we hit -EOPNOTSUPP
For non-blocking issue, we set IOCB_NOWAIT in the kiocb. However, on a raw block device, this yields an -EOPNOTSUPP return, as non-blocking writes aren't supported. Turn this -EOPNOTSUPP into -EAGAIN, so we retry from blocking context with IOCB_NOWAIT cleared. Cc: [email protected] # 5.5 Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information