public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Kipp Aldrich <kippa@greshamstorage.com>
To: xfs@oss.sgi.com
Subject: O_DIRECT and bigphysarea
Date: Mon, 31 Dec 2007 12:00:15 -0600	[thread overview]
Message-ID: <47792E2F.1090906@greshamstorage.com> (raw)

Is it possible to read/write an xfs file opened with O_DIRECT to a 
buffer obtained via bigphysarea? I have tried this and get "Bad Address" 
errors. Buffers obtained via regular alloc methods work fine. The 
bigphysarea buffers are correctly mmap'ed into user space, and show in 
/proc/<pid>/maps. So, the question is can I do xfs O_DIRECT on 
reads/writes to bigphysarea buffers?

Thanks. I am running 2.6 (2.6.21-rc3, from sgi cvs).

Kipp
-- 
Kipp A. Aldrich

                 reply	other threads:[~2007-12-31 18:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=47792E2F.1090906@greshamstorage.com \
    --to=kippa@greshamstorage.com \
    --cc=xfs@oss.sgi.com \
    /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