All of lore.kernel.org
 help / color / mirror / Atom feed
* loop: take the file system minimum dio alignment into account v2
@ 2025-01-31 12:00 Christoph Hellwig
  2025-01-31 12:00 ` [PATCH 1/4] loop: factor out a loop_assign_backing_file helper Christoph Hellwig
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Christoph Hellwig @ 2025-01-31 12:00 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Damien Le Moal, linux-block

Hi Jens,

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

Diffstat:
 loop.c |   84 +++++++++++++++++++++++++++++++++++------------------------------
 1 file changed, 46 insertions(+), 38 deletions(-)

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-02-24 23:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-31 12:00 loop: take the file system minimum dio alignment into account v2 Christoph Hellwig
2025-01-31 12:00 ` [PATCH 1/4] loop: factor out a loop_assign_backing_file helper Christoph Hellwig
2025-02-04  0:55   ` Damien Le Moal
2025-01-31 12:00 ` [PATCH 2/4] loop: set LO_FLAGS_DIRECT_IO in loop_assign_backing_file Christoph Hellwig
2025-02-04  0:55   ` Damien Le Moal
2025-01-31 12:00 ` [PATCH 3/4] loop: check in LO_FLAGS_DIRECT_IO in loop_default_blocksize Christoph Hellwig
2025-02-04  0:56   ` Damien Le Moal
2025-01-31 12:00 ` [PATCH 4/4] loop: take the file system minimum dio alignment into account Christoph Hellwig
2025-02-04  1:01   ` Damien Le Moal
2025-02-24 23:01 ` loop: take the file system minimum dio alignment into account v2 Christoph Hellwig
2025-02-24 23:18 ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.