diff options
author | NeilBrown <neilb@suse.de> | 2013-04-24 11:42:44 +1000 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2013-05-13 15:02:29 +0100 |
commit | b6e777b986dc9af7b0a28e8a32b80aec2296684a (patch) | |
tree | 3453137fe80b0e340a05970822b8ab416b22a132 /fs | |
parent | 84c2c44393f9d054aa07e75e68743364f1ad7c2d (diff) |
md: bad block list should default to disabled.
commit 486adf72ccc0c235754923d47a2270c5dcb0c98b upstream.
Maintenance of a bad-block-list currently defaults to 'enabled'
and is then disabled when it cannot be supported.
This is backwards and causes problem for dm-raid which didn't know
to disable it.
So fix the defaults, and only enabled for v1.x metadata which
explicitly has bad blocks enabled.
The problem with dm-raid has been present since badblock support was
added in v3.1, so this patch is suitable for any -stable from 3.1
onwards.
Reported-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions