aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-09-21 01:37:46 -0400
committerNeilBrown <neilb@suse.de>2011-09-21 01:37:46 -0400
commit5a537df44d52331a3d2792ca21a296959bd2ac3a (patch)
tree31907bdb1be692583702cd8be91de2a578a6f0d5 /lib/mpi/mpiutil.c
parent01f96c0a9922cd9919baf9d16febdf7016177a12 (diff)
md/bitmap: rename and tidy up BITMAP_PAGE_CLEAN
The flag 'BITMAP_PAGE_CLEAN' has a confusing name as it doesn't mean that the page is clean, but rather that there are counters in the page which allow bits in the bitmap to be cleared - i.e. maybe cleaning can happen. So change it to BITMAP_PAGE_PENDING and fix some irregularities: - Don't set it in bitmap_init_from_disk as bitmap_set_memory_bits sets it when needed - in bitmap_daemon_work, if we find a counter that is '1', but need_sync is set, then set BITMAP_PAGE_PENDING again (it was recently cleared) to ensure we don't forget about this bit. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions