Bugzilla – Bug 155553
md shutdown is too noisy and lies
Last modified: 2006-03-07 03:54:00 UTC
I don't have any MD devices configured, but I get on reboot on the serial console. It should only print such a message for an actually existing MD device md: stopping all md devices. md: md31 switched to read-only mode. md: md30 switched to read-only mode. md: md29 switched to read-only mode. md: md28 switched to read-only mode. md: md27 switched to read-only mode. md: md26 switched to read-only mode. md: md25 switched to read-only mode. md: md24 switched to read-only mode. md: md23 switched to read-only mode. md: md22 switched to read-only mode. md: md21 switched to read-only mode. md: md20 switched to read-only mode. md: md19 switched to read-only mode. md: md18 switched to read-only mode. md: md17 switched to read-only mode. md: md16 switched to read-only mode. md: md15 switched to read-only mode. md: md14 switched to read-only mode. md: md13 switched to read-only mode. md: md12 switched to read-only mode. md: md11 switched to read-only mode. md: md10 switched to read-only mode. md: md9 switched to read-only mode. md: md8 switched to read-only mode. md: md7 switched to read-only mode. md: md6 switched to read-only mode. md: md5 switched to read-only mode. md: md4 switched to read-only mode. md: md3 switched to read-only mode. md: md2 switched to read-only mode. md: md1 switched to read-only mode. md: md0 switched to read-only mode. Synchronizing SCSI cache for disk sdb: Synchronizing SCSI cache for disk sda:
Created attachment 71497 [details] MAtch to make md quiet Whenever an md device is opened, the internal data structures are created. The above suggests that the first 32 devices were openned. This is presumably done in some boot script, but shouldn't be needed. The attached patch - which is now in HEAD - will remove the unpleasant, and unnecessary - messages.
It seems I cannot resolve without a comment, so: The above patch should fix the problem.