[lkml]   [2006]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: How to determine whether a file was opened O_DIRECT?
    Böszörményi Zoltán wrote:
    > Hi,
    > I would like to run some diagnostics on a database
    > process and I would like to know what flags it used
    > for opening its files. Is there any way to get this info?
    > Thanks in advance,
    > Zoltán Böszörményi
    1. Look at the source code for the database - if you have it.
    2. Run your database under strace, then search the voluminous
    output for "open" calls and look at the flags.
    3. Patch your kernel to "printk" information whenever
    someone opens with O_DIRECT.

    Helge Hafting
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-08-29 11:01    [W:0.018 / U:5.024 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site