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? Thanks, Bruno. -- Bruno Diniz de Paula <diniz@cs.rutgers.edu> Rutgers University
Attachment:
signature.asc
Description: This is a digitally signed message part