scsi: mpi3mr: Fix I/O failures during controller reset

[ Upstream commit b7b2176e30 ]

I/Os can race with controller reset and fail.

Block requests at the mid layer when reset starts using
scsi_host_block(), and resume with scsi_host_unblock() after reset
completes.

Signed-off-by: Chandrakanth Patil <chandrakanth.patil@broadcom.com>
Link: https://lore.kernel.org/r/20250820084138.228471-4-chandrakanth.patil@broadcom.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Chandrakanth Patil 2025-08-20 14:11:35 +05:30 • committed by Greg Kroah-Hartman
commit f3355d8105
2 changed files with 5 additions and 0 deletions