[lkml]   [2002]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: block device/VM question
    "A month of sundays ago Thunder from the hill wrote:"
    > Hi,
    > On Tue, 27 Aug 2002, Peter T. Breuer wrote:
    > > Is there any way of turning off VMS caching for a block device?

    > O_DIRECT, or easily set the buffer to zero...


    Yes, I've noticed this in the 2.5.31 kernel. This is something
    to be done on open by the overlying fs or userspace utility, or
    should I set the flag on the inode->filp (or whatever) myself in
    the drivers open function? And do I need to define
    inode->mapping->a_ops->direct_IO()? (sorry - but I haven't had time to
    experiment yet today!).

    It looks like the 2.5 kernel has this pathway, but what about the 2.4
    kernel? Nothing.

    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: 2005-03-22 13:28    [W:0.021 / U:4.020 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site