On Fri, 31 Jan 2025 13:00:37 +0100, Christoph Hellwig wrote:
this series ensures that the loop device blocksize default also works on
file systems that require a bigger direct I/O alignment than the logical
block size of sb->s_bdev.
Changes since v1:
- also do the right thing when direct I/O is enabled through loop flag
and not by passing in a O_DIRECT FD
- minor cleanups to the calling convention of a helper
[...]
Applied, thanks!
[1/4] loop: factor out a loop_assign_backing_file helper
commit: d278164832618bf2775c6a89e6434e2633de1eed
[2/4] loop: set LO_FLAGS_DIRECT_IO in loop_assign_backing_file
commit: 984c2ab4b87c0db7c53c3b6a42be95f79f2aae89
[3/4] loop: check in LO_FLAGS_DIRECT_IO in loop_default_blocksize
commit: f6f9e32fe1e454ae8ac0190b2c2bd6074914beec
[4/4] loop: take the file system minimum dio alignment into account
commit: f4774e92aab85d9bb5c76463f220ad7ba535bb1c
Best regards,
--
Jens Axboe