On Wed, 17 Jan 2024 18:59:01 +0100, Christoph Hellwig wrote: > __loop_update_dio only checks the alignment requirement for block backed > file systems, but misses them for the case where the loop device is > created directly on top of another block device. Due to this creating > a loop device with default option plus the direct I/O flag on a > 512 byte > sector size file system will lead to incorrect I/O being submitted to the > lower block device and a lot of error from the lock layer. This can > be seen with xfstests generic/563. > > [...] Applied, thanks! [1/1] loop: fix the the direct I/O support check when used on top of block devices commit: baa7d536077dcdfe2b70c476a8873d1745d3de0f Best regards, -- Jens Axboe