public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Question about dentry cache in VFS
@ 2004-04-13 17:29 Martin Peck
  0 siblings, 0 replies; only message in thread
From: Martin Peck @ 2004-04-13 17:29 UTC (permalink / raw)
  To: linux-kernel

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,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-04-13 17:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-13 17:29 Question about dentry cache in VFS Martin Peck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox