]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md/bitmap: create a 'struct bitmap_counts' substructure of 'struct bitmap'
authorNeilBrown <neilb@suse.de>
Tue, 24 Apr 2012 00:57:57 +0000 (10:57 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 24 Apr 2012 00:57:57 +0000 (10:57 +1000)
commit6a2f6aa3cb0c749fc5ede715a7c04cf3b25863a9
tree1d0f442fec125c4a210a027965358f0bbb7502c4
parent3638f2196c29eb55170768b3a920fa2548e5a04a
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