public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Martin Peck <coderman@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Question about dentry cache in VFS
Date: Tue, 13 Apr 2004 10:29:05 -0700	[thread overview]
Message-ID: <AA1FCD0C.1328532@mail.gmail.com> (raw)

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,

                 reply	other threads:[~2004-04-13 17:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AA1FCD0C.1328532@mail.gmail.com \
    --to=coderman@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox