diff options
| author | Neil Brown <neilb@cse.unsw.edu.au> | 2002-08-22 21:26:52 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-08-22 21:26:52 -0700 |
| commit | acd8a264eb7be3192c73bfe1f7873d52302c5d10 (patch) | |
| tree | e34e17887f71480a45e9c55943d064c03627fc89 /include/linux/ethtool.h | |
| parent | f39afb8238f18d4b1b157ea31c4306003227dafd (diff) | |
[PATCH] md: Make spare handling simple ... personalities know less
1/ Personalities only know about raid_disks devices.
Some might be not in_sync and so cannot be read from,
but must be written to.
- change MD_SB_DISKS to ->raid_disks
- add tests for .write_only
2/ rdev->raid_disk is now -1 for spares. desc_nr is maintained
by analyse_sbs and sync_sbs.
3/ spare_inactive method is subsumed into hot_remove_disk
spare_writable is subsumed into hot_add_disk.
hot_add_disk decides which slot a new device will hold.
4/ spare_active now finds all non-in_sync devices and marks them
in_sync.
5/ faulty devices are removed by the md recovery thread as soon
as they are idle. Any spares that are available are then added.
Diffstat (limited to 'include/linux/ethtool.h')
0 files changed, 0 insertions, 0 deletions
