From: Greg Banks <gnb-cP1dWloDopni96+mSzHFpQC/G2K4zDHf@public.gmane.org>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Chuck Lever <chuck.lever@oracle.com>,
bfields@citi.umich.edu, linux-nfs@vger.kernel.org
Subject: Re: [PATCH 1/5] NFS: Update help text for CONFIG_NFS_FS
Date: Tue, 05 Feb 2008 11:40:25 +1100 [thread overview]
Message-ID: <47A7B079.8010903@melbourne.sgi.com> (raw)
In-Reply-To: <1202170682.28484.55.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
Trond Myklebust wrote:
> On Mon, 2008-02-04 at 19:04 -0500, Chuck Lever wrote:
>
>> Refresh the help text for Kconfig items related to the NFS client. Remove
>> obsolete URLs, and make the language consistent among the options.
>>
>>
>> config NFS_DIRECTIO
>> bool "Allow direct I/O on NFS files"
>> depends on NFS_FS
>> + default N
>>
>
> Why? Isn't O_DIRECT pretty much a standard feature that is enabled in
> most distros at this time?
> IMO we should rather be aiming to phase out NFS_DIRECTIO.
>
Agreed.
>
>> help
>> - This option enables applications to perform uncached I/O on files
>> - in NFS file systems using the O_DIRECT open() flag. When O_DIRECT
>> - is set for a file, its data is not cached in the system's page
>> - cache. Data is moved to and from user-level application buffers
>> - directly. Unlike local disk-based file systems, NFS O_DIRECT has
>> - no alignment restrictions.
>> + This option enables support for uncached I/O on files accessed
>> + via an NFS mount point. Applications request direct I/O by
>> + setting the O_DIRECT flag when opening a file.
>> +
>> + When direct I/O is requested, the NFS client moves data to and
>> + from user-level application buffers directly to NFS servers.
>> + Direct I/O on NFS files does not suffer from any I/O or buffer
>> + alignment restrictions, as does direct I/O on files that reside
>> + in local file systems.
>>
It might be an idea to mention that direct IO does *not* bypass the
server's page cache, an unobvious semantic which escapes many people.
>> +
>> + For details, see the open(2) man page.
>>
FYI, I recently posted an update to the O_DIRECT documentation in open(2).
http://marc.info/?l=linux-man&m=120107005026531&w=2
--
Greg Banks, R&D Software Engineer, SGI Australian Software Group.
The cake is *not* a lie.
I don't speak for SGI.
prev parent reply other threads:[~2008-02-05 0:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-05 0:04 [PATCH 1/5] NFS: Update help text for CONFIG_NFS_FS Chuck Lever
[not found] ` <20080205000421.18602.44285.stgit-meopP2rzCrTwdl/1UfZZQIVfYA8g3rJ/@public.gmane.org>
2008-02-05 0:18 ` Trond Myklebust
[not found] ` <1202170682.28484.55.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2008-02-05 0:33 ` Chuck Lever
2008-02-05 0:40 ` Greg Banks [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47A7B079.8010903@melbourne.sgi.com \
--to=gnb-cp1dwlodopni96+mszhfpqc/g2k4zdhf@public.gmane.org \
--cc=bfields@citi.umich.edu \
--cc=chuck.lever@oracle.com \
--cc=linux-nfs@vger.kernel.org \
--cc=trond.myklebust@fys.uio.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox