kern/60477: Wrong assertion in raid(4) reconstruction on hot spare
| Newsgroups | gmane.os.netbsd.bugs |
|---|---|
| Message-ID | <[email protected]> |
>Number: 60477 >Category: kern >Synopsis: Wrong assertion in raid(4) reconstruction on hot spare >Confidential: no >Severity: serious >Priority: high >Responsible: kern-bug-people >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Jul 22 17:20:00 +0000 2026 >Originator: Emmmanuel Nyarko >Release: netbsd current >Organization: NetBSD >Environment: amd64 >Description: A wrong assertion is used when swapping components after a successful reconstruction of a failed disk unto a spare disk. This assertion triggers only when your kernel is compiled with RAID_DIAGNOSTIC. otherwise, you end up in a possible race condition because it doesn't get caught. Needs pull-up to 11 and 10 >How-To-Repeat: set up any raid level with a hot spare and fail one disk to be reconstructed unto the spare disk. >Fix: Yes, please!