summaryrefslogtreecommitdiffstats
path: root/include/trace/events/btrfs.h
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2013-11-06 12:04:14 +0800
committerChris Mason <clm@fb.com>2014-01-28 13:19:38 -0800
commit792ddef04014d83cc5a8c4d1387c0417789b36fa (patch)
tree3cf0c4b33ac9b0b17f07f63bfd683610641d5b9f /include/trace/events/btrfs.h
parent9d04a8ceacddd52621df59b52f8ec28aa4042b16 (diff)
downloadop-kernel-dev-792ddef04014d83cc5a8c4d1387c0417789b36fa.zip
op-kernel-dev-792ddef04014d83cc5a8c4d1387c0417789b36fa.tar.gz
Btrfs/tracepoint: update new flags for ordered extent TP
Flag BTRFS_ORDERED_TRUNCATED is a new one, update the tracepoint to support it. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'include/trace/events/btrfs.h')
-rw-r--r--include/trace/events/btrfs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/trace/events/btrfs.h b/include/trace/events/btrfs.h
index e98a108..3176cdc 100644
--- a/include/trace/events/btrfs.h
+++ b/include/trace/events/btrfs.h
@@ -218,7 +218,8 @@ TRACE_EVENT_CONDITION(btrfs_get_extent,
{ (1 << BTRFS_ORDERED_DIRECT), "DIRECT" }, \
{ (1 << BTRFS_ORDERED_IOERR), "IOERR" }, \
{ (1 << BTRFS_ORDERED_UPDATED_ISIZE), "UPDATED_ISIZE" }, \
- { (1 << BTRFS_ORDERED_LOGGED_CSUM), "LOGGED_CSUM" })
+ { (1 << BTRFS_ORDERED_LOGGED_CSUM), "LOGGED_CSUM" }, \
+ { (1 << BTRFS_ORDERED_TRUNCATED), "TRUNCATED" })
DECLARE_EVENT_CLASS(btrfs__ordered_extent,
OpenPOWER on IntegriCloud