[GFS2] invalid metadata block - REVISED
authorBob Peterson <rpeterso@redhat.com>
Wed, 8 Aug 2007 21:52:09 +0000 (16:52 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 10 Oct 2007 07:55:10 +0000 (08:55 +0100)
commit5f3eae7546093d845ca8ada1b95714202a136a1a
treec5b45d1a313f8a7357e7ab25954356904b68c010
parent8fbbfd214c853102b614f4705c1904ed14f5a808
[GFS2] invalid metadata block - REVISED

This is for bugzilla bug #248176: GFS2: invalid metadata block

Patches 1 thru 3 were accepted upstream, but there were problems
with 4 and 5.  Those issues have been resolved and now the recovery
tests are passing without errors.  This code has gone through
41 * 3 successful gfs2 recovery tests before it hit an
unrelated (openais) problem.

This is a complete rewrite of patch 4 for bug #248176.

Part of the problem was that inodes were being recycled
before their buffers were flushed to the journal logs.
Another problem was that the clone bitmaps were being
searched for deleted inodes to recycle, but only the
"real" bitmaps should be searched for that purpose.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/rgrp.c