aboutsummaryrefslogtreecommitdiff
path: root/block/blkdebug.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-06-05 15:17:55 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2013-06-06 11:27:22 +0200
commitbf736fe34caba0688c9095c31b9d097ea15c1296 (patch)
tree1f924e47bbc31d073fea6b4cd753bc6f09dee8e5 /block/blkdebug.c
parent587da2c39c9ace168f4d01fa446a54ae998a2553 (diff)
blkdebug: Add BLKDBG_FLUSH_TO_OS/DISK events
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/blkdebug.c')
-rw-r--r--block/blkdebug.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/block/blkdebug.c b/block/blkdebug.c
index 71f99e4067..ccb627ad93 100644
--- a/block/blkdebug.c
+++ b/block/blkdebug.c
@@ -182,6 +182,9 @@ static const char *event_names[BLKDBG_EVENT_MAX] = {
[BLKDBG_CLUSTER_ALLOC] = "cluster_alloc",
[BLKDBG_CLUSTER_ALLOC_BYTES] = "cluster_alloc_bytes",
[BLKDBG_CLUSTER_FREE] = "cluster_free",
+
+ [BLKDBG_FLUSH_TO_OS] = "flush_to_os",
+ [BLKDBG_FLUSH_TO_DISK] = "flush_to_disk",
};
static int get_event_by_name(const char *name, BlkDebugEvent *event)