]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8e02b582857a710092f5391b623cb844e1f46a98
tree56b733f9e0ef00e4aa022adcd6a3c1e41fab1a84
parentc7c86adf4f05bb57402b5d7430d96c99da933959
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