Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   oster
Date:           Sun Sep 17 20:07:39 UTC 2023

Modified Files:
        src/sbin/raidctl: raidctl.8 raidctl.c
        src/sys/dev/raidframe: raidframeio.h rf_diskqueue.c rf_diskqueue.h
            rf_disks.c rf_disks.h rf_driver.c rf_netbsdkintf.c rf_raid.h
            rf_reconstruct.c

Log Message:
Implement hot removal of spares and components.  From manu@.

Implement a long desired feature of automatically incorporating
a used spare into the array after a reconstruct.

Given the configuration:
Components:
           /dev/wd0e: failed
           /dev/wd1e: optimal
           /dev/wd2e: optimal
Spares:
           /dev/wd3e: spare

Running 'raidctl -F /dev/wd0e raid0' will now result in the
following configuration after a successful rebuild:
Components:
           /dev/wd3e: optimal
           /dev/wd1e: optimal
           /dev/wd2e: optimal
No spares.

Thanks to manu@ for the development of the initial set of changes
which allowed the changes to automatically incorporate a used spare
to come to fruition.  Thanks also to manu@ for useful discussions
about and additional testing of these changes.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sbin/raidctl/raidctl.8
cvs rdiff -u -r1.78 -r1.79 src/sbin/raidctl/raidctl.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/raidframe/raidframeio.h
cvs rdiff -u -r1.63 -r1.64 src/sys/dev/raidframe/rf_diskqueue.c
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/raidframe/rf_diskqueue.h
cvs rdiff -u -r1.93 -r1.94 src/sys/dev/raidframe/rf_disks.c
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/raidframe/rf_disks.h
cvs rdiff -u -r1.140 -r1.141 src/sys/dev/raidframe/rf_driver.c
cvs rdiff -u -r1.413 -r1.414 src/sys/dev/raidframe/rf_netbsdkintf.c
cvs rdiff -u -r1.51 -r1.52 src/sys/dev/raidframe/rf_raid.h
cvs rdiff -u -r1.128 -r1.129 src/sys/dev/raidframe/rf_reconstruct.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index