Re: [PATCH v2] block/file-posix: Fix return value translation for AIO discards.

2021-10-19 Thread Kevin Wolf
Am 19.10.2021 um 13:09 hat Ari Sundholm geschrieben: > AIO discards regressed as a result of the following commit: > 0dfc7af2 block/file-posix: Optimize for macOS > > When trying to run blkdiscard within a Linux guest, the request would > fail, with some errors in dmesg: > > [ snip ] -

[PATCH v2] block/file-posix: Fix return value translation for AIO discards.

2021-10-19 Thread Ari Sundholm
AIO discards regressed as a result of the following commit: 0dfc7af2 block/file-posix: Optimize for macOS When trying to run blkdiscard within a Linux guest, the request would fail, with some errors in dmesg: [ snip ] [4.010070] sd 2:0:0:0: [sda] tag#0 FAILED Result: hostbyt