summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGilad Broner <gbroner@codeaurora.org>2014-11-11 14:42:05 +0200
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 10:58:09 -0700
commitb19709a5c386e921f19dba2fdf217ad55508e41c (patch)
tree622dbaa22eaa09f6e4e2dcfd8257eb2f0699e2a0 /include/linux
parent2fe969df93082fc0a047d508e78d1ce70c1852ee (diff)
scsi: ufs: reduce printout for aborted requests
Details printed for each request that is aborted can overload the target as there can be several requests that are aborted at once. This change will print full request details only for the first aborted request since the last link reset, and minimal details for other subsequent requests. Change-Id: I2868262e0b687c9ddd771a52708428b7de14bea2 Signed-off-by: Gilad Broner <gbroner@codeaurora.org> [subhashj@codeaurora.org: resolved trivial merge conflicts] Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include/linux')
-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 4b2a70f42a50..fd3ba04771c8 100644
--- a/include/linux/scsi/ufs/ufshcd.h
+++ b/include/linux/scsi/ufs/ufshcd.h
@@ -728,6 +728,9 @@ struct ufs_hba {
/* PM Quality-of-Service (QoS) data */
struct ufshcd_pm_qos pm_qos;
+ /* Number of requests aborts */
+ int req_abort_count;
+
struct ufs_pa_layer_attr pwr_info;
struct ufs_pwr_mode_info max_pwr_info;