Thread (1 message) 1 message, 1 author, 2016-11-28

Re: [PATCH 3/4 v2] mdmon: bad block support for external metadata - store bad blocks

From: Jes Sorensen <hidden>
Date: 2016-11-28 22:49:23

Tomasz Majchrzak [off-list ref] writes:
If md has changed the state to 'blocked' and metadata handler supports
bad blocks, try process them first. If metadata handler has successfully
stored bad block, acknowledge it to md via 'badblocks' sysfs file. If
metadata handler has failed to store the new bad block (ie. lack of
space), remove bad block support for a disk by writing "-external_bbl"
to state sysfs file. If all bad blocks have been acknowledged, request
to unblock the array.

Signed-off-by: Tomasz Majchrzak <redacted>
Acked-by: Artur Paszkiewicz <redacted>
---
 mdadm.h   |   4 +++
 monitor.c | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 116 insertions(+)
Applied!

Thanks,
Jes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help