[lkml]   [2003]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectO_DIRECT foolish question

I am trying to use O_DIRECT to read ordinary files and read syscall
always returns 0, unless when the file size equals the fs block size. Is
it true that I can only use O_DIRECT when the size of the file written
in the inode is a multiple of block size?

Thanks and excuse me for the newbie question,

Bruno Diniz de Paula <>
Rutgers University
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2005-03-22 13:33    [W:0.053 / U:6.004 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site