Re: [PATCH 6/8] loop: relax loop dio use condition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux