Repository navigation
Commit d7a9d44
committed
md: add 'write_error' flag to component devices.
If a device has ever seen a write error, we will want to handle
known-bad-blocks differently.
So create an appropriate state flag and export it via sysfs.
Signed-off-by: NeilBrown <neilb@suse.de>
Reviewed-by: Namhyung Kim <namhyung@gmail.com>1 parent 06f6038 commit d7a9d44
2 files changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2516 | 2516 | | |
2517 | 2517 | | |
2518 | 2518 | | |
| 2519 | + | |
| 2520 | + | |
| 2521 | + | |
| 2522 | + | |
2519 | 2523 | | |
2520 | 2524 | | |
2521 | 2525 | | |
| |||
2530 | 2534 | | |
2531 | 2535 | | |
2532 | 2536 | | |
| 2537 | + | |
| 2538 | + | |
2533 | 2539 | | |
2534 | 2540 | | |
2535 | 2541 | | |
| |||
2565 | 2571 | | |
2566 | 2572 | | |
2567 | 2573 | | |
| 2574 | + | |
| 2575 | + | |
| 2576 | + | |
| 2577 | + | |
| 2578 | + | |
| 2579 | + | |
2568 | 2580 | | |
2569 | 2581 | | |
2570 | 2582 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
| |||
0 commit comments