Skip to contentSkip to conversation

O_DIRECT and bigphysarea

DISCUSSION Kipp Aldrich 1 participant 1 message Dec 31, 2007

lore
Share & tools
lore
#0 lore 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

Signature · 1 line
Kipp A. Aldrich