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:   tls
Date:           Sun Oct 18 14:56:33 UTC 2026

Modified Files:
        src/sbin/raidctl: raidctl.c rf_configure.c
        src/sys/dev/raidframe: raidframevar.h rf_diskqueue.c rf_diskqueue.h
            rf_netbsdkintf.c

Log Message:
Fix PR kern/60896 queue-length bugs in RAIDframe configuration.

Support queue lengths up to 255 (256 could technically be supported
but this could cause trouble if a user boots an old kernel with a new RAID
set, so we clamp at 255).

Correctly update in-core and on-disk queue lengths when they are changed
via raidctl for an existing set.  Don't treat a mismatched queue length
in the on-disk label as an error, avoiding breaking RAID sets in some
reconstruction-to-spare cases.

Fix raidctl create to use the documented default queue length of 100
instead of 1.


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/sbin/raidctl/raidctl.c
cvs rdiff -u -r1.37 -r1.38 src/sbin/raidctl/rf_configure.c
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/raidframe/raidframevar.h
cvs rdiff -u -r1.65 -r1.66 src/sys/dev/raidframe/rf_diskqueue.c
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/raidframe/rf_diskqueue.h
cvs rdiff -u -r1.419 -r1.420 src/sys/dev/raidframe/rf_netbsdkintf.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