From: NeilBrown Date: Thu, 28 Jul 2011 01:31:47 +0000 (+1000) Subject: md: load/store badblock list from v1.x metadata X-Git-Tag: v3.1-rc1~131^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2699b67223aca6b1450fc2f72e40fada952afc85;p=pandora-kernel.git md: load/store badblock list from v1.x metadata Space must have been allocated when array was created. A feature flag is set when the badblock list is non-empty, to ensure old kernels don't load and trust the whole device. We only update the on-disk badblocklist when it has changed. If the badblocklist (or other metadata) is stored on a bad block, we don't cope very well. If metadata has no room for bad block, flag bad-blocks as disabled, and do the same for 0.90 metadata. Signed-off-by: NeilBrown --- Reading git-diff-tree failed