lkml.org 
[lkml]   [2004]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Latest AIO patchset
    On Wed, Feb 25, 2004 at 08:45:29PM +0200, Hayim Shaul wrote:
    > What exactly is the O_DIRECT flag? When I add this flag to the open func
    > it fails.
    >
    > More specificaly, this function fails
    > open("filename", O_RDWR | O_DIRECT | O_LARGEFILE | O_CREAT, S_IRWXU);
    >
    > but this one succeeds
    > open("filename", O_RDWR | O_LARGEFILE | O_CREAT, S_IRWXU);
    >
    > I'm running linux 2.6.0 with libaio 0.3.92.

    Which filesystem? Not all support O_DIRECT.

    -ben
    -
    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 14:01    [W:0.030 / U:127.296 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site