diff options
author | NeilBrown <neilb@suse.de> | 2013-04-24 05:42:44 +0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-04-30 08:49:32 +0400 |
commit | 486adf72ccc0c235754923d47a2270c5dcb0c98b (patch) | |
tree | c90d17b5b5e776da04d6a8b106a4ff3890992f3c /drivers/md/raid10.c | |
parent | 0fea7ed82b1edf384735a2b535368f54a8584c3a (diff) | |
download | linux-486adf72ccc0c235754923d47a2270c5dcb0c98b.tar.xz |
md: bad block list should default to disabled.
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.
Cc: stable@vger.kernel.org (3.1+)
Reported-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid10.c')
0 files changed, 0 insertions, 0 deletions