Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
mdadm.5365
1002-display-timeout-status.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1002-display-timeout-status.patch of Package mdadm.5365
Subject: Display timeout status References: fate#311379 Signed-off-by: Neil Brown <nfbrown@suse.com> --- Detail.c | 1 + md_p.h | 1 + 2 files changed, 2 insertions(+) Index: mdadm-3.3.1/Detail.c =================================================================== --- mdadm-3.3.1.orig/Detail.c +++ mdadm-3.3.1/Detail.c @@ -641,6 +641,7 @@ This is pretty boring disk.raid_disk >= 0) failed++; } + if (disk.state & (1<<MD_DISK_TIMEOUT)) printf(" timeout"); if (disk.state & (1<<MD_DISK_ACTIVE)) printf(" active"); if (disk.state & (1<<MD_DISK_SYNC)) { printf(" sync"); Index: mdadm-3.3.1/md_p.h =================================================================== --- mdadm-3.3.1.orig/md_p.h +++ mdadm-3.3.1/md_p.h @@ -90,6 +90,7 @@ * dire need */ #define MD_DISK_FAILFAST 10 /* Fewer retries, more failures */ +#define MD_DISK_TIMEOUT 11 /* disk is faulty due to timeout */ #define MD_DISK_REPLACEMENT 17 #define MD_DISK_JOURNAL 18 /* disk is used as the write journal in RAID-5/6 */
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