RE: Using O_DIRECT for file writing in a kernel module

2005-02-12 Thread Hanson, Jonathan M
On Fri, 2005-02-11 at 17:58 -0700, Hanson, Jonathan M wrote: > I'm trying to write to a file with the O_DIRECT flag from a > kernel module in a 2.4 series of kernel on x86 hardware. I've learned > that the O_DIRECT flag requires that the amount of data written and the > file offset pointer mu

Re: Using O_DIRECT for file writing in a kernel module

2005-02-11 Thread Arjan van de Ven
On Fri, 2005-02-11 at 17:58 -0700, Hanson, Jonathan M wrote: > I'm trying to write to a file with the O_DIRECT flag from a > kernel module in a 2.4 series of kernel on x86 hardware. I've learned > that the O_DIRECT flag requires that the amount of data written and the > file offset pointer mu

Using O_DIRECT for file writing in a kernel module

2005-02-11 Thread Hanson, Jonathan M
I'm trying to write to a file with the O_DIRECT flag from a kernel module in a 2.4 series of kernel on x86 hardware. I've learned that the O_DIRECT flag requires that the amount of data written and the file offset pointer must be multiples of the underlying "block size." To try thin