On Mon, Oct 25, 2021 at 05:44:35PM +0800, Ming Lei wrote: > So far loop dio requires the following conditions: > > 1) lo->lo_offset is aligned with backing queue's logical block size > > 2) loop queue's logical block size is <= backing queue's logical block > size And both these checks absolutely do make sense. We should not drop them and gets us into the messy state of mixed direct and buffered I/O.