dm bitset: only flush the current word if it has been dirtied
authorJoe Thornber <ejt@redhat.com>
Mon, 3 Mar 2014 15:37:24 +0000 (10:37 -0500)
committerMike Snitzer <snitzer@redhat.com>
Fri, 7 Mar 2014 17:02:50 +0000 (12:02 -0500)
commit0327c59e043825ed18688453b12db70e63ca9c47
tree59eaed1612b385b25e966994823353a5eb1c797a
parent1c5a63b138638d08f4dc65ed48d3d5d3bad1b08b
dm bitset: only flush the current word if it has been dirtied

This change offers a big performance boost for dm-era.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/persistent-data/dm-bitset.c
drivers/md/persistent-data/dm-bitset.h