md/bitmap: create a 'struct bitmap_counts' substructure of 'struct bitmap'
authorNeilBrown <neilb@suse.de>
Tue, 22 May 2012 03:55:24 +0000 (13:55 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 22 May 2012 03:55:24 +0000 (13:55 +1000)
commit40cffcc0e8f9f6e295630cb8b8d58a13baa6c7f9
treeeb23aa8ac3866c93708a1aee36fd6ae15a6a863f
parent63c68268b2fc63f7f612dfebecb5c9cbbd3ebeaf
md/bitmap: create a 'struct bitmap_counts' substructure of 'struct bitmap'

The new "struct bitmap_counts" contains all the fields that are
related to counting the number of active writes in each bitmap chunk.

Having this separate will make it easier to change the chunksize
or overall size of a bitmap atomically.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/bitmap.c
drivers/md/bitmap.h