From: Andreas Dilger <adilger@clusterfs.com>
To: andrea@suse.de
Cc: viro@math.psu.edu, linux-fsdevel@vger.kernel.org
Subject: Why is O_DIRECT checking deferred?
Date: Sat, 22 Jun 2002 12:50:35 -0600 [thread overview]
Message-ID: <20020622185035.GE22411@clusterfs.com> (raw)
Andrea, Al,
I'm implementing O_DIRECT for our network filesystem, Lustre. One
strange thing I noticed is that we do not check for a_ops->direct_IO
until deep in the read/write path instead of failing at open time.
Since not many filesystem implement O_DIRECT I was going to submit a
patch to generic_direct_IO() which printk's an error if a_ops->direct_IO
is not available, but it would really be better to do this at open
time before allocating the kiobuf.
Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/
next reply other threads:[~2002-06-22 18:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-22 18:50 Andreas Dilger [this message]
2002-06-24 19:13 ` Why is O_DIRECT checking deferred? Andrea Arcangeli
-- strict thread matches above, loose matches on Subject: below --
2002-06-24 17:31 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=20020622185035.GE22411@clusterfs.com \
--to=adilger@clusterfs.com \
--cc=andrea@suse.de \
--cc=linux-fsdevel@vger.kernel.org \
--cc=viro@math.psu.edu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.