Thread (11 messages) 11 messages, 3 authors, 2025-02-24

Re: loop: take the file system minimum dio alignment into account v2

From: Jens Axboe <axboe@kernel.dk>
Date: 2025-02-24 23:18:23

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


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help