HomeFreeBSD

mrsas: don't reference the removed physical disk of RAID1 during IO submission

Description

mrsas: don't reference the removed physical disk of RAID1 during IO submission

When a physical disk(PD) [belonging to a RAID1 Virtual disk(VD)] is
removed, driver may still use the reference to the removed PD while submitting
IO to the controller. Controller firmware faults upon receipt of such IO.
This patch fixes this issue by not using any reference to the removed PD.

Reviewed by: imp
Approved by: imp
Sponsored by: Broadcom Inc
Differential Revision: https://reviews.freebsd.org/D44282

Details

Provenance
sumit.saxena_broadcom.comAuthored on Mar 12 2024, 6:51 AM
Reviewer
imp
Differential Revision
D44282: mrsas: don't issue IO to hot-removed physical disk of RAID1 volume.
Parents
rG7a0a6b276cfd: libc: Move tzset.3 to stdtime
Branches
Unknown
Tags
Unknown