lkml.org 
[lkml]   [2002]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectO_DIRECT read and holes in 2.5.26
    From
    Date

    Andrew,

    Did you realize that the new O_DIRECT code in 2.5 cannot read over holes
    in a file. The old code filled the user buffer with zeros, the new code
    returned EINVAL if the getblock function returns an unmapped buffer.
    With this exception, XFS does work with the new code - with more cpu
    overhead than before due to the once per page getblock calls.

    Steve



    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:27    [W:4.280 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site