git: kernel - Fix duplicate da0 or da* and locked up boot
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Apr 20 18:27:03 PDT 2018
commit 2ea825fba0b8639655b24ed30d20f69eeb1fb56d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Apr 20 18:18:52 2018 -0700
kernel - Fix duplicate da0 or da* and locked up boot
* Fix duplicate da* reporting at boot which usually results in
the boot locking up.
* The diskinfo was being installed while before CAM's softc->state
normalized, potentially allowing I/O to occur during the probe
sequence and causing the probe state to be repeated.
Delay calling disk_setdiskinfo() until after softc->state is
normalized.
Summary of changes:
sys/bus/cam/scsi/scsi_cd.c | 8 ++++++--
sys/bus/cam/scsi/scsi_da.c | 12 ++++++++----
2 files changed, 14 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2ea825fba0b8639655b24ed30d20f69eeb1fb56d
--
DragonFly BSD source repository
More information about the Commits
mailing list