commit | cdc9cec7c0ff521edf8c0e9c9432bf8fdccfc702 | [log] [tgz] |
---|---|---|
author | Dave Chinner <dchinner@redhat.com> | Thu Dec 04 09:42:40 2014 +1100 |
committer | Dave Chinner <david@fromorbit.com> | Thu Dec 04 09:42:40 2014 +1100 |
tree | acd304dac9fdf77f3bdcfaf3bb903a2f0689d4e7 | |
parent | 4db431f57be2d32f35f46023b0c0d9f8b6e06e26 [diff] |
xfs: active inodes stat is broken 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@redhat.com> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Dave Chinner <david@fromorbit.com>