diff options
author | NeilBrown <neilb@suse.de> | 2007-01-25 15:35:29 +1100 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2007-02-05 08:31:43 -0800 |
commit | 50c524829e518ca5a7e3e5423726e6bb24afaac4 (patch) | |
tree | d0535a561b390af42645b180faa1338044682b9f /drivers/md/raid5.c | |
parent | d53c44cb93ba219bc26fa2f7ddd98bdd4d219c9c (diff) |
[PATCH] md: fix a few problems with the interface (sysfs and ioctl) to md.
While developing more functionality in mdadm I found some bugs in md...
- When we remove a device from an inactive array (write 'remove' to
the 'state' sysfs file - see 'state_store') would should not
update the superblock information - as we may not have
read and processed it all properly yet.
- initialise all raid_disk entries to '-1' else the 'slot sysfs file
will claim '0' for all devices in an array before the array is
started.
- all '\n' not to be present at the end of words written to
sysfs files
- when we use SET_ARRAY_INFO to set the md metadata version,
set the flag to say that there is persistant metadata.
- allow GET_BITMAP_FILE to be called on an array that hasn't
been started yet.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'drivers/md/raid5.c')
0 files changed, 0 insertions, 0 deletions