aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blktrace_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/blktrace_api.h')
-rw-r--r--include/linux/blktrace_api.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/blktrace_api.h b/include/linux/blktrace_api.h
index b7cd8f1eedbe..e3ef903aae88 100644
--- a/include/linux/blktrace_api.h
+++ b/include/linux/blktrace_api.h
@@ -121,6 +121,7 @@ struct blk_trace {
121 int trace_state; 121 int trace_state;
122 struct rchan *rchan; 122 struct rchan *rchan;
123 unsigned long *sequence; 123 unsigned long *sequence;
124 unsigned char *msg_data;
124 u16 act_mask; 125 u16 act_mask;
125 u64 start_lba; 126 u64 start_lba;
126 u64 end_lba; 127 u64 end_lba;
@@ -172,7 +173,7 @@ extern void __trace_note_message(struct blk_trace *, const char *fmt, ...);
172 if (unlikely(bt)) \ 173 if (unlikely(bt)) \
173 __trace_note_message(bt, fmt, ##__VA_ARGS__); \ 174 __trace_note_message(bt, fmt, ##__VA_ARGS__); \
174 } while (0) 175 } while (0)
175#define BLK_TN_MAX_MSG 1024 176#define BLK_TN_MAX_MSG 128
176 177
177/** 178/**
178 * blk_add_trace_rq - Add a trace for a request oriented action 179 * blk_add_trace_rq - Add a trace for a request oriented action