From: Steve French <smfltc@us.ibm.com>
To: linux-fsdevel@vger.kernel.org
Subject: O_DIRECT
Date: Wed, 01 Dec 2004 19:01:05 -0600 [thread overview]
Message-ID: <41AE6951.8050408@us.ibm.com> (raw)
Is there a precise defintion of the Linux O_DIRECT semantics, in
particularly addressing desired behavior in the cases of:
1) inodes opened more than once (some with and some without O_DIRECT) -
do the other open file instances get disabled caching?
2) consistency of mmap data and sendfile data (how could this work
without write through of the page cache?) when inode is opened O_DIRECT
If the goal of O_DIRECT is not only to bypass the local client's page
cache, but also to bypass the 4K read/write page size (and allow larger
read, writes), is it acceptable for an fs to handle files opened
O_DIRECT to disable caching by turning off calls to generic_file_read
and generic_file_write for reads and writes to that inode (after a
sync)? If not, is there a conventional "no cache" mount option used by
other filesystems to do the equivalent on a mounted volume?
next reply other threads:[~2004-12-02 1:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-02 1:01 Steve French [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-12-02 2:50 O_DIRECT Lever, Charles
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=41AE6951.8050408@us.ibm.com \
--to=smfltc@us.ibm.com \
--cc=linux-fsdevel@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).