]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.h
mdmon: bad block support for external metadata - sysfs file open
authorTomasz Majchrzak <tomasz.majchrzak@intel.com>
Thu, 27 Oct 2016 08:53:43 +0000 (10:53 +0200)
committerJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 28 Nov 2016 22:45:56 +0000 (17:45 -0500)
commit6dc1785fdb1d1c8733f0a773f4bbbdd2e6158fb6
tree6f9d0a1f3f4e02e076c197c9892354977db08525
parentbb758ccad0e9e47af565d4e23b43aa5a8ceb9886
mdmon: bad block support for external metadata - sysfs file open

Open 'badblocks' and 'unacknowledged_bad_blocks' sysfs files for each
disk in the array. Add them to the list of files observed by monitor.

Signed-off-by: Tomasz Majchrzak <tomasz.majchrzak@intel.com>
Reviewed-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
managemon.c
mdadm.h
monitor.c