GFS2: Be more aggressive in reclaiming unlinked inodes
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 21 May 2009 14:18:19 +0000 (15:18 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 21 May 2009 14:18:19 +0000 (15:18 +0100)
commit1ce97e564b628bee30b8dbb64e5e653a484308f6
tree1c46105bb5bd29e0970afa2693e09654bef89164
parent60a0b8f93664621a07b93273fc8ebc29590c62f5
GFS2: Be more aggressive in reclaiming unlinked inodes

This patch increases the frequency with which gfs2 looks
for unlinked, but still allocated inodes. Its the equivalent
operation to ext3's orphan list, but done with bitmaps in
the resource groups.

This also fixes a bug where a field in the rgrp was too small.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/incore.h
fs/gfs2/rgrp.c