Btrfs/tracepoint: update new flags for ordered extent TP
authorLiu Bo <bo.li.liu@oracle.com>
Wed, 6 Nov 2013 04:04:14 +0000 (12:04 +0800)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:19:38 +0000 (13:19 -0800)
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>
include/trace/events/btrfs.h

index e98a108..3176cdc 100644 (file)
@@ -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,