Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
mdadm.5365
0111-super1-Do-not-create-bad-block-log-for-clu...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0111-super1-Do-not-create-bad-block-log-for-clustered-dev.patch of Package mdadm.5365
From 86a406c2262e1db3309623413992eecbb9ee1ce3 Mon Sep 17 00:00:00 2001 From: NeilBrown <neilb@suse.com> Date: Mon, 28 Sep 2015 11:49:53 +1000 Subject: [PATCH 165/359] super1: Do not create bad block log for clustered devices. References: bsc#1081910 We currently have no synchronization techniques for the bad block log, so disable it for the cluster. Reported-by: Goldwyn Rodrigues <rgoldwyn@suse.com> Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Coly Li <colyli@suse.de> --- super1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/super1.c b/super1.c index 52952eb..6f42291 100644 --- a/super1.c +++ b/super1.c @@ -1701,7 +1701,8 @@ static int write_init_super1(struct supertype *st) rv = -EINVAL; goto out; } - if (conf_get_create_info()->bblist == 0) { + /* Disable badblock log on clusters, or when explicitly requested */ + if (st->nodes > 0 || conf_get_create_info()->bblist == 0) { sb->bblog_size = 0; sb->bblog_offset = 0; } -- 2.16.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor