lkml.org 
[lkml]   [2004]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectQuestion about dentry cache in VFS
I am working on a userspace filesystem and would like
the ability to selectively decache inodes and their children
from the VFS.

I can do this on a global scale using invalidate_inodes() and
shrink_dcache_sb(), however, I would also like to be able
to decache for specific inodes/entries.

One possibility (and perhaps the 'right' way) to do this which
I had considered is using dentry_operations to trap d_revalidate
as needed, however, I would like to avoid an invocation here
for every dentry if there is another way to selectively decache.

Thanks in advance,
-
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:02    [W:0.132 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site