io_ur: make sure that sync errors are noticed upfront
authorJens Axboe <axboe@kernel.dk>
Sat, 20 May 2023 01:30:38 +0000 (19:30 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 20 May 2023 01:30:38 +0000 (19:30 -0600)
commit870ea00243b1290541334bec2a56428c9f68dba6
tree0df6c69dff8435fa21755488d878b9797c2c2e8a
parentc99367f11e9bef48bc32253225bb4cd32215b38f
io_ur: make sure that sync errors are noticed upfront

This could probably be cleaner in the error handling, but jump to
the normal error handling case for ddir_sync() as well.

Fixes: https://github.com/axboe/fio/issues/1577
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_u.c