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

Details

Provenance
wmaAuthored on Dec 20 2021, 5:32 AM
Reviewer
imp
Differential Revision
D31549: Don't sync DAs if reboot type is RB_NOSYNC
Parents
rG4f741801d860: t_setrlimit: Adjust resource limit to 20M
Branches
Unknown
Tags
Unknown