Re: Commit 'iomap: add support for dma aligned direct-io' causes qemu/KVM boot failures
From: Keith Busch
Date: Thu Sep 29 2022 - 12:37:44 EST
On Thu, Sep 29, 2022 at 07:16:29PM +0300, Maxim Levitsky wrote:
> On Thu, 2022-09-29 at 09:48 -0600, Keith Busch wrote:
> > I am aware, and I've submitted the fix to qemu here:
> >
> > https://lists.nongnu.org/archive/html/qemu-block/2022-09/msg00398.html
> >
>
>
> Thanks for quick response!
>
> Question is though, isn't this an kernel ABI breakage?
I don't think so. Memory alignment and length granularity are two completely
different concepts. If anything, the kernel's ABI had been that the length
requirement was also required for the memory alignment, not the other way
around. That usage will continue working with this kernel patch.