HomeFreeBSD

cam: Don't permit crashdumps on non-pollable devices.

Description

cam: Don't permit crashdumps on non-pollable devices.

If a disk's SIM doesn't support polling, then it can't be used to
store crashdumps. Leave d_dump NULL in that case so that dumpon(8)
fails gracefully rather than having dumps fail at crash time.

Reviewed by: scottl, mav, imp
MFC after: 2 weeks
Sponsored by: Chelsio
Differential Revision: https://reviews.freebsd.org/D28454

Details

Provenance
jhbAuthored on Feb 11 2021, 9:51 PM
Reviewer
scottl
Differential Revision
D28454: cam: Don't permit crashdumps on non-pollable devices.
Parents
rG447b3557a9cc: cam: Permit non-pollable sims.
Branches
Unknown
Tags
Unknown