qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 0/2] file-posix: alignment probing improvements


From: Stefan Hajnoczi
Subject: [PATCH v2 0/2] file-posix: alignment probing improvements
Date: Thu, 3 Nov 2022 14:36:07 -0400

v2:
- Make sure that XFS_IOC_DIOINFO takes priority over logical blocksize [Eric 
Biggers]
- Included a link to Eric's linux-block regression email

These patches fix alignment probing with dm-crypt and add support for the new
Linux statx(STATX_DIOALIGN) interface.

Given that Linux v6.0 kernels with dm-crypt returning EIO are out there, I
think we might as well rejig the alignment probing loop to handle that.

Let's also add support for the new STATX_DIOALIGN interface so probing is not
required on new kernels.

Stefan Hajnoczi (2):
  file-posix: fix Linux alignment probing when EIO is returned
  file-posix: add statx(STATX_DIOALIGN) support

 block/file-posix.c | 102 ++++++++++++++++++++++++---------------------
 1 file changed, 55 insertions(+), 47 deletions(-)

-- 
2.38.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]