Skip to content
Commit e384e585 authored by NeilBrown's avatar NeilBrown
Browse files

md/bitmap: prepare for storing write-intent-bitmap via dm-dirty-log.



This allows md/raid5 to fully work as a dm target.

Normally md uses a 'filemap' which contains a list of pages of bits
each of which may be written separately.
dm-log uses and all-or-nothing approach to writing the log, so
when using a dm-log, ->filemap is NULL and the flags normally stored
in filemap_attr are stored in ->logattrs instead.



Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent ef425673
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment