aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-scan.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2011-07-28 11:31:47 +1000
committerNeilBrown <[email protected]>2011-07-28 11:31:47 +1000
commit2699b67223aca6b1450fc2f72e40fada952afc85 (patch)
treec84d0cbb763ad03cd770a218a37f0f1ec31118af /lib/mpi/mpi-scan.c
parent34b343cff4354ab9864be83be88405fd53d928a0 (diff)
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 <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-scan.c')
0 files changed, 0 insertions, 0 deletions