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>
Thu, 27 Mar 2014 20:56:23 +0000 (16:56 -0400)
commit428e4698642794444cdb26c148a827f22c28d546
treecf554886d6d1f9434a58a3e139c5b7d4ee8a6ab5
parenteec40579d84873dfb7021eb24c50360f073237c5
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