lkml.org 
[lkml]   [2005]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Invalidating dentries
    >> how can I invalidate all buffered/cached dentries so that ls -l /somefolder 
    >> will definitely go read the harddisk?
    >
    >Patch the kernel?

    Great idea.

    >A quick way of doing it would be to add a new mount option to the
    >filesystem and call shrink_dcache_sb() from there. do `mount -o
    >remount,shrink_dcache'.

    I doubt that there is a way to define an option applicable to all fs?
    But thanks for the idea.


    Jan Engelhardt
    --
    -
    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-04-06 13:30    [W:3.492 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site