Re: [PATCH RFC v2] Performing direct I/O on sector-aligned requests

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



----- Original Message -----
> From: "Dean" <seattleplus@xxxxxxxxx>
> To: "Alexandre Depoutovitch" <adepoutovitch@xxxxxxxxxx>
> Cc: linux-nfs@xxxxxxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx
> Sent: Friday, May 11, 2012 2:36:52 PM
> Subject: Re: [PATCH RFC v2] Performing direct I/O on sector-aligned requests
> 
> 
> 
> On 4/29/12 2:03 PM, Alexandre Depoutovitch wrote:
> > A new flag is exposed to users through /proc/fs/nfsd/direct_io
> > node. The
> > default value of 1 results in the above behavior. Writing 0 to the
> > node
> > turns off the direct I/O completely, and forces NFS daemon to
> > always use
> > buffered IO (as it has done before). Writing 2 to the node tells
> > NFS
> > daemon to use direct I/O whenever possible, even if  requests are
> > aligned
> > at file system block boundary.
> 
> Not sure if this was previously discussed, but I assume the default
> would remain the same (value 0)?
> 
> Dean
> 
> 


Yes. The default should be 0 (the behavior will not change, unless the user explicitly enables it).
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux Ext4 Filesystem]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [CEPH Filesystem]


  Powered by Linux