summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGilad Broner <gbroner@codeaurora.org>2014-11-11 17:15:26 +0200
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 10:58:02 -0700
commitf3fdd87f21feb19ec65a08f72e0efa245eae76bd (patch)
treebe34f9f7e4aad25743db0ec8898859883b9f3e43 /include
parent350f0a1398916bf53302fc57d8a9b68c91138247 (diff)
scsi: ufs: skip request abort task when previous aborts failed
On certain error conditions request abort task itself might fail when aborting a request. In such case, subsequent request aborts should skip issuing the abort task as it is expected to fail as well, and device reset handler will be called next. Change-Id: I28c111c58e8c7fd54b836c6933d5fc56682c28b9 Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/scsi/ufs/ufshcd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/scsi/ufs/ufshcd.h b/include/linux/scsi/ufs/ufshcd.h
index fff05fc62161..4b2a70f42a50 100644
--- a/include/linux/scsi/ufs/ufshcd.h
+++ b/include/linux/scsi/ufs/ufshcd.h
@@ -184,6 +184,7 @@ struct ufs_pm_lvl_states {
* @lun: LUN of the command
* @intr_cmd: Interrupt command (doesn't participate in interrupt aggregation)
* @issue_time_stamp: time stamp for debug purposes
+ * @req_abort_skip: skip request abort task flag
*/
struct ufshcd_lrb {
struct utp_transfer_req_desc *utr_descriptor_ptr;
@@ -206,6 +207,8 @@ struct ufshcd_lrb {
u8 lun; /* UPIU LUN id field is only 8-bit wide */
bool intr_cmd;
ktime_t issue_time_stamp;
+
+ bool req_abort_skip;
};
/**