From: NeilBrown Date: Tue, 1 Jun 2010 09:37:34 +0000 (+1000) Subject: md/bitmap: prepare for storing write-intent-bitmap via dm-dirty-log. X-Git-Tag: v2.6.36-rc1~280^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e384e58549a2e9a83071ad80280c1a9053cfd84c;p=pandora-kernel.git 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: NeilBrown --- Reading git-diff-tree failed