Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
mdadm
0002-Do-not-create-bad-block-log-for-clustered-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-Do-not-create-bad-block-log-for-clustered-devices.patch of Package mdadm
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 2/2] super1: Do not create bad block log for clustered devices. 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> --- super1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/super1.c +++ b/super1.c @@ -1768,7 +1768,8 @@ static int write_init_super1(struct supe 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; }
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