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

2021-10-19 Thread Stefan Hajnoczi
On Tue, Oct 19, 2021 at 05:40:13AM +0200, Philippe Mathieu-Daudé wrote: > +Stefan > > On 10/18/21 20:07, Ari Sundholm wrote: > > 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 g

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

2021-10-18 Thread Philippe Mathieu-Daudé
+Stefan On 10/18/21 20:07, Ari Sundholm wrote: > 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 ] >

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

2021-10-18 Thread Akihiko Odaki
Reviewed-by: Akihiko Odaki On Tue, Oct 19, 2021 at 3:08 AM Ari Sundholm wrote: > > 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 error

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

2021-10-18 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