diff options
author | Kevin Wolf <kwolf@redhat.com> | 2014-01-14 15:37:03 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-01-24 17:40:25 +0100 |
commit | 9e1cb96d9a5e434f389a4d7b7ff4dcdd71e8ec0f (patch) | |
tree | f6cc6850e505561c3c85c500bc47f388385355ab /block/blkdebug.c | |
parent | cd33d02a1012e58ee0d3c8259159e8c60cfa0a4d (diff) | |
download | qemu-9e1cb96d9a5e434f389a4d7b7ff4dcdd71e8ec0f.zip qemu-9e1cb96d9a5e434f389a4d7b7ff4dcdd71e8ec0f.tar.gz qemu-9e1cb96d9a5e434f389a4d7b7ff4dcdd71e8ec0f.tar.bz2 |
qemu-iotests: Test pwritev RMW logic
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/blkdebug.c')
-rw-r--r-- | block/blkdebug.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/block/blkdebug.c b/block/blkdebug.c index 2c03698..56c4cd0 100644 --- a/block/blkdebug.c +++ b/block/blkdebug.c @@ -186,6 +186,14 @@ static const char *event_names[BLKDBG_EVENT_MAX] = { [BLKDBG_FLUSH_TO_OS] = "flush_to_os", [BLKDBG_FLUSH_TO_DISK] = "flush_to_disk", + + [BLKDBG_PWRITEV_RMW_HEAD] = "pwritev_rmw.head", + [BLKDBG_PWRITEV_RMW_AFTER_HEAD] = "pwritev_rmw.after_head", + [BLKDBG_PWRITEV_RMW_TAIL] = "pwritev_rmw.tail", + [BLKDBG_PWRITEV_RMW_AFTER_TAIL] = "pwritev_rmw.after_tail", + [BLKDBG_PWRITEV] = "pwritev", + [BLKDBG_PWRITEV_ZERO] = "pwritev_zero", + [BLKDBG_PWRITEV_DONE] = "pwritev_done", }; static int get_event_by_name(const char *name, BlkDebugEvent *event) |