xfs
[Top] [All Lists]

O_DIRECT and bigphysarea

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>
  • O_DIRECT and bigphysarea, Kipp Aldrich <=