diff options
| author | Muneendra Kumar <[email protected]> | 2021-01-07 03:19:06 +0530 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-01-14 22:55:17 -0500 |
| commit | 02c66326dc7e8b3a71b7ceb9a08ec1208e13ea84 (patch) | |
| tree | 998a87c008a17ca8d421c0b698441f704494e27b /tools/perf/scripts/python | |
| parent | 60bee27ba2dff82eb921c515e49236abfb6c54ab (diff) | |
scsi: scsi_transport_fc: Add a new rport state FC_PORTSTATE_MARGINAL
Add a new interface, fc_eh_should_retry_cmd(), which checks if the cmd
should be retried or not by checking the rport state. If the rport state is
marginal it returns false to make sure there won't be any retries on the
cmd.
Make the fc_remote_port_delete(), fc_user_scan_tgt(), and
fc_timeout_deleted_rport() functions handle the new rport state.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Himanshu Madhani <[email protected]>
Reviewed-by: Ewan D. Milne <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Muneendra Kumar <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions