CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2022/09/11 13:34:40

Modified files:
        sys/dev        : softraid.c 
        sys/kern       : subr_disk.c 
        sys/sys        : disk.h 

Log message:
Remove the DKF_LABELVALID flag from struct disk. Instead, trust disk drivers
to always be able to provide a duid, and keep ignoring whole zero duids.

This fixes a race in vnd setup where the disk_attach callback could run
before any I/O occurs on the vnd, thus not having a label available yet.

noticed by otto@ and kn@; ok kn@

Reply via email to