Commit 82b2fb5
scsi: mpi3mr: Split off bus_reset function from host_reset
SCSI EH host reset is the final callback in the escalation chain; once we
reach this we need to reset the controller. As such it defeats the purpose
to skip controller reset if no I/Os are pending and the RAID device is to
be reset; especially after kexec there might be stale commands pending in
firmware for which we have no reference whatsoever. So this patch splits
off the check for pending I/O into a 'bus_reset' function, and leaves the
actual controller reset to the host reset.
Signed-off-by: Hannes Reinecke <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: Kashyap Desai <[email protected]>
Cc: Sathya Prakash Veerichetty <[email protected]>
Cc: Sumit Saxena <[email protected]>
Cc: Sreekanth Reddy <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>1 parent c2a14ab commit 82b2fb5
1 file changed
+37
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4012 | 4012 | | |
4013 | 4013 | | |
4014 | 4014 | | |
4015 | | - | |
4016 | | - | |
4017 | | - | |
4018 | | - | |
| 4015 | + | |
4019 | 4016 | | |
4020 | 4017 | | |
4021 | 4018 | | |
4022 | 4019 | | |
| 4020 | + | |
| 4021 | + | |
| 4022 | + | |
| 4023 | + | |
| 4024 | + | |
| 4025 | + | |
| 4026 | + | |
| 4027 | + | |
| 4028 | + | |
| 4029 | + | |
| 4030 | + | |
| 4031 | + | |
| 4032 | + | |
| 4033 | + | |
| 4034 | + | |
| 4035 | + | |
| 4036 | + | |
| 4037 | + | |
| 4038 | + | |
| 4039 | + | |
| 4040 | + | |
| 4041 | + | |
| 4042 | + | |
| 4043 | + | |
| 4044 | + | |
| 4045 | + | |
| 4046 | + | |
| 4047 | + | |
4023 | 4048 | | |
4024 | 4049 | | |
4025 | 4050 | | |
4026 | 4051 | | |
4027 | 4052 | | |
4028 | | - | |
| 4053 | + | |
4029 | 4054 | | |
4030 | 4055 | | |
4031 | 4056 | | |
| |||
4035 | 4060 | | |
4036 | 4061 | | |
4037 | 4062 | | |
4038 | | - | |
4039 | | - | |
| 4063 | + | |
| 4064 | + | |
4040 | 4065 | | |
4041 | | - | |
4042 | | - | |
4043 | 4066 | | |
| 4067 | + | |
| 4068 | + | |
4044 | 4069 | | |
4045 | | - | |
4046 | | - | |
4047 | | - | |
4048 | | - | |
4049 | | - | |
4050 | | - | |
4051 | | - | |
4052 | | - | |
4053 | 4070 | | |
4054 | | - | |
4055 | | - | |
4056 | | - | |
| 4071 | + | |
| 4072 | + | |
4057 | 4073 | | |
4058 | 4074 | | |
4059 | 4075 | | |
| |||
4900 | 4916 | | |
4901 | 4917 | | |
4902 | 4918 | | |
| 4919 | + | |
4903 | 4920 | | |
4904 | 4921 | | |
4905 | 4922 | | |
| |||
0 commit comments