Commit ae3dffd
scsi: aacraid: Disabling TM path and only processing IOP reset
[ Upstream commit bef18d3 ]
Fixes the occasional adapter panic when sg_reset is issued with -d, -t, -b
and -H flags. Removal of command type HBA_IU_TYPE_SCSI_TM_REQ in
aac_hba_send since iu_type, request_id and fib_flags are not populated.
Device and target reset handlers are made to send TMF commands only when
reset_state is 0.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Sagar Biradar <[email protected]>
Signed-off-by: Sagar Biradar <[email protected]>
Signed-off-by: Balsundar P <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>1 parent 6260277 commit ae3dffd
2 files changed
+26
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
728 | 728 | | |
729 | 729 | | |
730 | 730 | | |
731 | | - | |
| 731 | + | |
732 | 732 | | |
733 | 733 | | |
734 | 734 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
723 | 723 | | |
724 | 724 | | |
725 | 725 | | |
726 | | - | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
727 | 731 | | |
728 | 732 | | |
729 | 733 | | |
| |||
902 | 906 | | |
903 | 907 | | |
904 | 908 | | |
905 | | - | |
906 | | - | |
| 909 | + | |
| 910 | + | |
907 | 911 | | |
908 | 912 | | |
909 | | - | |
| 913 | + | |
910 | 914 | | |
911 | 915 | | |
912 | 916 | | |
| |||
921 | 925 | | |
922 | 926 | | |
923 | 927 | | |
924 | | - | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
925 | 934 | | |
926 | 935 | | |
927 | 936 | | |
| |||
960 | 969 | | |
961 | 970 | | |
962 | 971 | | |
963 | | - | |
964 | | - | |
| 972 | + | |
| 973 | + | |
965 | 974 | | |
966 | 975 | | |
967 | | - | |
| 976 | + | |
968 | 977 | | |
969 | 978 | | |
970 | 979 | | |
| |||
981 | 990 | | |
982 | 991 | | |
983 | 992 | | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
984 | 1000 | | |
985 | 1001 | | |
986 | 1002 | | |
| |||
1033 | 1049 | | |
1034 | 1050 | | |
1035 | 1051 | | |
1036 | | - | |
| 1052 | + | |
1037 | 1053 | | |
1038 | 1054 | | |
1039 | 1055 | | |
| |||
0 commit comments