HomeFreeBSD

cam: don't send scsi commands on shutdown when reboot method RB_NOSYNC

Description

cam: don't send scsi commands on shutdown when reboot method RB_NOSYNC

Don't send the SCSI comand SYNCHRONIZE CACHE on devices that are still
open when RB_NOSYNC is the reboot method. This may avoid recursive panics
when doadump is called due to a SCSI/CAM/USB error/bug.

Obtained from: Semihalf
Sponsored by: Stormshield
Reviewed by: imp
Differential revision: https://reviews.freebsd.org/D31549

(cherry picked from commit e0ceec676dc86ddca960a9858ae5e3a4e0c8390d)

Details

Provenance
wmaAuthored on Dec 20 2021, 5:32 AM
mavCommitted on Apr 23 2022, 11:03 PM
Reviewer
imp
Differential Revision
D31549: Don't sync DAs if reboot type is RB_NOSYNC
Parents
rG92ecb030d254: mountd: Delay starting mountd until after mountlate
Branches
Unknown
Tags
Unknown