HomeFreeBSD

mpi3mr: Decrement per controller and per target counter post reset

Description

mpi3mr: Decrement per controller and per target counter post reset

Post controller reset, If any device removal events arrive, and if
there are any outstanding IOs then the driver will unnecessarily wait
in the loop for 30 seconds before removing the device from the OS.

reset target outstanding IO counter and controller outstanding IO counter
and remove the redundant wait loop.

Reviewed by: imp
Approved by: imp
Differential revision: https://reviews.freebsd.org/D44424

(cherry picked from commit 571f1d0638fa6b3a08f84118a33e53f941f0820c)

Details

Provenance
chandrakanth.patil_broadcom.comAuthored on Mar 14 2024, 6:12 PM
impCommitted on Wed, Apr 30, 5:05 PM
Reviewer
imp
Differential Revision
D44424: mpi3mr: Decrement per controller and per target IO counter post controller reset
Parents
rG3e1b3b3d15cd: mpi3mr: poll reply queue and add MPI3MR_DEV_REMOVE_HS_COMPLETED flag
Branches
Unknown
Tags
Unknown