Commit b7b2176
scsi: mpi3mr: Fix I/O failures during controller reset
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>1 parent 829fa15 commit b7b2176
2 files changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5430 | 5430 | | |
5431 | 5431 | | |
5432 | 5432 | | |
| 5433 | + | |
5433 | 5434 | | |
5434 | 5435 | | |
5435 | 5436 | | |
| |||
5538 | 5539 | | |
5539 | 5540 | | |
5540 | 5541 | | |
| 5542 | + | |
5541 | 5543 | | |
5542 | 5544 | | |
5543 | 5545 | | |
| |||
5562 | 5564 | | |
5563 | 5565 | | |
5564 | 5566 | | |
| 5567 | + | |
5565 | 5568 | | |
5566 | 5569 | | |
5567 | 5570 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2866 | 2866 | | |
2867 | 2867 | | |
2868 | 2868 | | |
| 2869 | + | |
2869 | 2870 | | |
2870 | 2871 | | |
2871 | 2872 | | |
2872 | 2873 | | |
2873 | 2874 | | |
2874 | 2875 | | |
| 2876 | + | |
2875 | 2877 | | |
2876 | 2878 | | |
2877 | 2879 | | |
| |||
0 commit comments