Re: [PATCH] file-posix: Fix aio=threads performance regression after enablign FUA

2025-06-25 Thread Eric Blake
On Wed, Jun 25, 2025 at 10:50:19AM +0200, Kevin Wolf wrote: > For aio=threads, we're currently not implementing REQ_FUA in any useful > way, but just do a separate raw_co_flush_to_disk() call. This changes > behaviour compared to the old state, which used bdrv_co_flush() with its > optimisations. A

[PATCH] file-posix: Fix aio=threads performance regression after enablign FUA

2025-06-25 Thread Kevin Wolf
For aio=threads, we're currently not implementing REQ_FUA in any useful way, but just do a separate raw_co_flush_to_disk() call. This changes behaviour compared to the old state, which used bdrv_co_flush() with its optimisations. As a quick fix, call bdrv_co_flush() again like before. Eventually, w