lkml.org 
[lkml]   [2003]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectO_DIRECT foolish question
    From
    Date
    Hi,

    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.
    --
    Bruno Diniz de Paula <diniz@cs.rutgers.edu>
    Rutgers University
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2005-03-22 13:33    [W:0.017 / U:237.268 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site