opnsense-src/sys/dev/mpr
Alexander Motin a996b55ab3 mpr(4): Fix unmatched devq release.
Before this change devq was frozen only if some command was sent to
the target after reset started, but release was called always.  This
change freezes the devq immediately, leaving mprsas_action_scsiio()
check only to cover race condition due to different lock devq use.

This should also avoid unnecessary requeue of the commands, creating
additional log noise and confusing some broken apps.

MFC after:	2 weeks
Sponsored by:	iXsystems, Inc.

(cherry picked from commit 9781c28c6d)
2021-09-02 20:35:27 -04:00
..
mpi
mpr.c mpr/mps: Minor state machine fix 2021-09-02 20:34:22 -04:00
mpr_config.c
mpr_ioctl.h
mpr_mapping.c mpr/mps(4): Make device mapping some more robust. 2021-05-24 10:43:39 -04:00
mpr_mapping.h
mpr_pci.c
mpr_sas.c mpr(4): Fix unmatched devq release. 2021-09-02 20:35:27 -04:00
mpr_sas.h mpr(4): Handle mprsas_alloc_tm() errors on device removal. 2021-09-02 20:35:27 -04:00
mpr_sas_lsi.c mpr(4): Handle mprsas_alloc_tm() errors on device removal. 2021-09-02 20:35:27 -04:00
mpr_table.c
mpr_table.h
mpr_user.c
mprvar.h mpr(4): Handle mprsas_alloc_tm() errors on device removal. 2021-09-02 20:35:27 -04:00