GFS2: Introduce rbm field bii
authorBob Peterson <rpeterso@redhat.com>
Tue, 17 Sep 2013 17:12:15 +0000 (13:12 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 18 Sep 2013 09:39:53 +0000 (10:39 +0100)
commite579ed4f446e64748a2d26eed8f8b28f728495bd
treed525f8e67afd5b5d589eb93d8c9f0499c668b4a4
parentb8708905199a85eebbd820f98d18e045c32077bf
GFS2: Introduce rbm field bii

This is a respin of the original patch. As Steve pointed out, the
introduction of field bii makes it easy to eliminate bi itself.
This revised patch does just that, replacing bi with bii.

This patch adds a new field to the rbm structure, called bii,
which is an index into the array of bitmaps for an rgrp.
This replaces *bi which was a pointer to the bitmap.
This is being done for further optimizations.

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