From: Alexandre Depoutovitch Subject: Re: [PATCH RFC v2] Performing direct I/O on sector-aligned requests Date: Tue, 15 May 2012 10:44:43 -0700 (PDT) Message-ID: <745238188.5696519.1337103883067.JavaMail.root@zimbra-prod-mbox-3.vmware.com> References: <4FAD5C44.50407@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Dean Return-path: In-Reply-To: <4FAD5C44.50407-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: linux-nfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-fsdevel.vger.kernel.org ----- Original Message ----- > From: "Dean" > To: "Alexandre Depoutovitch" > Cc: linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > 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-nfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html