O_DIRECT and bigphysarea

Kipp Aldrich
2007-12-31T18:00:18Z

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