On Wed, Feb 12, 2003 at 03:57:50PM -0500, Bruno Diniz de Paula wrote:
> Hi,
> 
> has anyone used O_DIRECT flag of open to read files bypassing the buffer
> cache of the kernel? I am trying to read using this option but the read
> command always returns 0, indicating that zero bytes were read. The
> buffer I am using is aligned with the block size, as also the size of
> the buffer is multiple of the block size. What is the problem though?

This just recently came up on LKML, and I think a solution/answer was
given.  Search their archives, I guess.

-- 
Rob Weir <[EMAIL PROTECTED]>                             http://ertius.org/

Attachment: msg31273/pgp00000.pgp
Description: PGP signature

Reply via email to