Re: Is LO_FLAGS_DIRECT_IO by default a good idea?

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

 



On Mon, Oct 18, 2021 at 05:05:50PM +0200, Christoph Hellwig wrote:
> On Mon, Oct 18, 2021 at 04:19:20PM +0200, Lennart Poettering wrote:
> > A brief answer like "yes, please, enable by default" would already
> > make me happy.
> 
> I thikn enabling it by default is a good idea.  The only good use
> case I can think of for using buffered I/O is when the image has
> a smaller block size than supported on the host file.

Maybe we can enable it at default in kernel side, then fackback to
buffered IO if DIO is failed.

thanks, 
Ming




[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