Re: It's time to hack on dentry_stat?

From: rae l
Date: Wed May 07 2008 - 11:07:13 EST


On Wed, May 7, 2008 at 10:51 PM, Matthew Wilcox <matthew@xxxxxx> wrote:
> You have to not break:
>
> $ cat /proc/sys/fs/dentry-state
> 122104 115846 45 0 0 0
But why? for some applicatioins?

The struct dentry_stat can be modified to have only two useful fields,
and let the other four printed with 0,
I have greped age_limit, that's also not used anymore, why we should
let it keep 45? Or Is there some historical reason?

Or just consider /proc/sys/fs/dentry-state as a binary application interface?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/