linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Wilcox <matthew@wil.cx>
To: rae l <crquan@gmail.com>
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: It's time to hack on dentry_stat?
Date: Wed, 7 May 2008 08:51:16 -0600	[thread overview]
Message-ID: <20080507145116.GV19219@parisc-linux.org> (raw)
In-Reply-To: <91b13c310805070726k7eb1384ex7d557b5dca4b567@mail.gmail.com>

On Wed, May 07, 2008 at 10:26:58PM +0800, rae l wrote:
> I have noticed that struct dentry_stat_t dentry_stat is a struct with
> six fields,
> but only 2 of them are used, other 4 have never been used since v2.6.11,
> 
> from include/linux/dcache.h:
> 
> struct dentry_stat_t {
>         int nr_dentry;
>         int nr_unused;
>         int age_limit;          /* age in seconds */
>         int want_pages;         /* pages requested by system */
>         int dummy[2];
> };

You have to not break:

$ cat /proc/sys/fs/dentry-state 
122104  115846  45      0       0       0

-- 
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."

  reply	other threads:[~2008-05-07 14:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-07 14:26 It's time to hack on dentry_stat? rae l
2008-05-07 14:51 ` Matthew Wilcox [this message]
2008-05-07 15:06   ` rae l
2008-05-07 15:08   ` Ray Lee
2008-05-07 15:25     ` Matthew Wilcox
2008-05-07 16:10       ` Ray Lee
2008-05-07 16:32         ` rae l

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=20080507145116.GV19219@parisc-linux.org \
    --to=matthew@wil.cx \
    --cc=crquan@gmail.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --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;
as well as URLs for NNTP newsgroup(s).