| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | O_DIRECT and bigphysarea |
| From: | Kipp Aldrich <kippa@xxxxxxxxxxxxxxxxxx> |
| Date: | Mon, 31 Dec 2007 12:00:15 -0600 |
| Organization: | Gresham Enterprise Storage |
| Reply-to: | kippa@xxxxxxxxxxxxxxxxxx |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Thunderbird 2.0.0.9 (X11/20071031) |
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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: raid 10 su, sw settings, Justin Piszcz |
|---|---|
| Next by Date: | Re: raid 10 su, sw settings, Brad Langhorst |
| Previous by Thread: | raid 10 su, sw settings, Brad Langhorst |
| Next by Thread: | [Fwd: linux-image-2.6.18-5-amd64 with 32bit userspace: xfs_fsr fails because ioctl32(xfs_fsr:15013): Unknown cmd], Jeffrey E. Hundstad |
| Indexes: | [Date] [Thread] [Top] [All Lists] |