GFS2: introduce bi_blocks for optimization
authorBob Peterson <rpeterso@redhat.com>
Wed, 11 Sep 2013 18:44:02 +0000 (13:44 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 17 Sep 2013 09:15:13 +0000 (10:15 +0100)
commit7e230f5774336c5c180d8aeab0e2cb1326c73fa3
tree56b733f9e0ef00e4aa022adcd6a3c1e41fab1a84
parent6aa7640f306a1dd0923d29d9190c5686907d5140
GFS2: introduce bi_blocks for optimization

This patch introduces a new field in the bitmap structure called
bi_blocks. Its purpose is to save us from constantly multiplying
bi_len by the constant GFS2_NBBY. It also paves the way for more
optimization in a future patch.

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