[PATCH v2] xfs: active inodes stat is broken

Mark Tinguely tinguely at sgi.com
Tue Dec 2 16:45:03 CST 2014


On 12/02/14 16:34, Dave Chinner wrote:
>
> From: Dave Chinner <dchinner at redhat.com>
>
> vn_active only ever gets decremented, so it has a very large
> negative number.  Make it track the inode count we currently have
> allocated properly so we can easily track the size of the inode
> cache via tools like PCP.
>
> Signed-off-by: Dave Chinner <dchinner at redhat.com>
> ---

Nice to have that working.

Reviewed-by: Mark Tinguely <tinguely at sgi.com>



More information about the xfs mailing list