|
|
9ae3a8 |
From df86b255911f2a682ffd411f4924442d6b007624 Mon Sep 17 00:00:00 2001
|
|
|
9ae3a8 |
From: Kevin Wolf <kwolf@redhat.com>
|
|
|
9ae3a8 |
Date: Tue, 14 Jan 2014 15:37:03 +0100
|
|
|
9ae3a8 |
Subject: [PATCH 35/37] qemu-iotests: Test pwritev RMW logic
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Message-id: <1392117622-28812-35-git-send-email-kwolf@redhat.com>
|
|
|
9ae3a8 |
Patchwork-id: 57199
|
|
|
9ae3a8 |
O-Subject: [RHEL-7.0 qemu-kvm PATCH v2 35/37] qemu-iotests: Test pwritev RMW logic
|
|
|
9ae3a8 |
Bugzilla: 748906
|
|
|
9ae3a8 |
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Max Reitz <mreitz@redhat.com>
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
|
|
9ae3a8 |
Reviewed-by: Max Reitz <mreitz@redhat.com>
|
|
|
9ae3a8 |
(cherry picked from commit 9e1cb96d9a5e434f389a4d7b7ff4dcdd71e8ec0f)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Conflicts:
|
|
|
9ae3a8 |
block.c
|
|
|
9ae3a8 |
block/blkdebug.c
|
|
|
9ae3a8 |
include/block/block.h
|
|
|
9ae3a8 |
tests/qemu-iotests/group
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Conflicts because RHEL 7 doesn't have all blkdebug events that upstream
|
|
|
9ae3a8 |
has. (Plus group from qemu-iotests.)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
block.c | 7 ++
|
|
|
9ae3a8 |
block/blkdebug.c | 8 ++
|
|
|
9ae3a8 |
include/block/block.h | 8 ++
|
|
|
9ae3a8 |
tests/qemu-iotests/077 | 278 +++++++++++++++++++++++++++++++++++++++++++++
|
|
|
9ae3a8 |
tests/qemu-iotests/077.out | 202 ++++++++++++++++++++++++++++++++
|
|
|
9ae3a8 |
tests/qemu-iotests/group | 1 +
|
|
|
9ae3a8 |
6 files changed, 504 insertions(+)
|
|
|
9ae3a8 |
create mode 100755 tests/qemu-iotests/077
|
|
|
9ae3a8 |
create mode 100644 tests/qemu-iotests/077.out
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
block.c | 7 +
|
|
|
9ae3a8 |
block/blkdebug.c | 8 ++
|
|
|
9ae3a8 |
include/block/block.h | 8 ++
|
|
|
9ae3a8 |
tests/qemu-iotests/077 | 278 ++++++++++++++++++++++++++++++++++++++++++++
|
|
|
9ae3a8 |
tests/qemu-iotests/077.out | 202 ++++++++++++++++++++++++++++++++
|
|
|
9ae3a8 |
tests/qemu-iotests/group | 1 +
|
|
|
9ae3a8 |
6 files changed, 504 insertions(+), 0 deletions(-)
|
|
|
9ae3a8 |
create mode 100755 tests/qemu-iotests/077
|
|
|
9ae3a8 |
create mode 100644 tests/qemu-iotests/077.out
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
diff --git a/block.c b/block.c
|
|
|
9ae3a8 |
index d18c2df..d063924 100644
|
|
|
9ae3a8 |
--- a/block.c
|
|
|
9ae3a8 |
+++ b/block.c
|
|
|
9ae3a8 |
@@ -2982,10 +2982,13 @@ static int coroutine_fn bdrv_aligned_pwritev(BlockDriverState *bs,
|
|
|
9ae3a8 |
assert(!waited || !req->serialising);
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
if (flags & BDRV_REQ_ZERO_WRITE) {
|
|
|
9ae3a8 |
+ BLKDBG_EVENT(bs, BLKDBG_PWRITEV_ZERO);
|
|
|
9ae3a8 |
ret = bdrv_co_do_write_zeroes(bs, sector_num, nb_sectors, flags);
|
|
|
9ae3a8 |
} else {
|
|
|
9ae3a8 |
+ BLKDBG_EVENT(bs, BLKDBG_PWRITEV);
|
|
|
9ae3a8 |
ret = drv->bdrv_co_writev(bs, sector_num, nb_sectors, qiov);
|
|
|
9ae3a8 |
}
|
|
|
9ae3a8 |
+ BLKDBG_EVENT(bs, BLKDBG_PWRITEV_DONE);
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
if (ret == 0 && !bs->enable_write_cache) {
|
|
|
9ae3a8 |
ret = bdrv_co_flush(bs);
|
|
|
9ae3a8 |
@@ -3058,11 +3061,13 @@ static int coroutine_fn bdrv_co_do_pwritev(BlockDriverState *bs,
|
|
|
9ae3a8 |
};
|
|
|
9ae3a8 |
qemu_iovec_init_external(&head_qiov, &head_iov, 1);
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
+ BLKDBG_EVENT(bs, BLKDBG_PWRITEV_RMW_HEAD);
|
|
|
9ae3a8 |
ret = bdrv_aligned_preadv(bs, &req, offset & ~(align - 1), align,
|
|
|
9ae3a8 |
align, &head_qiov, 0);
|
|
|
9ae3a8 |
if (ret < 0) {
|
|
|
9ae3a8 |
goto fail;
|
|
|
9ae3a8 |
}
|
|
|
9ae3a8 |
+ BLKDBG_EVENT(bs, BLKDBG_PWRITEV_RMW_AFTER_HEAD);
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
qemu_iovec_init(&local_qiov, qiov->niov + 2);
|
|
|
9ae3a8 |
qemu_iovec_add(&local_qiov, head_buf, offset & (align - 1));
|
|
|
9ae3a8 |
@@ -3090,11 +3095,13 @@ static int coroutine_fn bdrv_co_do_pwritev(BlockDriverState *bs,
|
|
|
9ae3a8 |
};
|
|
|
9ae3a8 |
qemu_iovec_init_external(&tail_qiov, &tail_iov, 1);
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
+ BLKDBG_EVENT(bs, BLKDBG_PWRITEV_RMW_TAIL);
|
|
|
9ae3a8 |
ret = bdrv_aligned_preadv(bs, &req, (offset + bytes) & ~(align - 1), align,
|
|
|
9ae3a8 |
align, &tail_qiov, 0);
|
|
|
9ae3a8 |
if (ret < 0) {
|
|
|
9ae3a8 |
goto fail;
|
|
|
9ae3a8 |
}
|
|
|
9ae3a8 |
+ BLKDBG_EVENT(bs, BLKDBG_PWRITEV_RMW_AFTER_TAIL);
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
if (!use_local_qiov) {
|
|
|
9ae3a8 |
qemu_iovec_init(&local_qiov, qiov->niov + 1);
|
|
|
9ae3a8 |
diff --git a/block/blkdebug.c b/block/blkdebug.c
|
|
|
9ae3a8 |
index 1e772a5..c61ce52 100644
|
|
|
9ae3a8 |
--- a/block/blkdebug.c
|
|
|
9ae3a8 |
+++ b/block/blkdebug.c
|
|
|
9ae3a8 |
@@ -183,6 +183,14 @@ static const char *event_names[BLKDBG_EVENT_MAX] = {
|
|
|
9ae3a8 |
[BLKDBG_CLUSTER_ALLOC] = "cluster_alloc",
|
|
|
9ae3a8 |
[BLKDBG_CLUSTER_ALLOC_BYTES] = "cluster_alloc_bytes",
|
|
|
9ae3a8 |
[BLKDBG_CLUSTER_FREE] = "cluster_free",
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+ [BLKDBG_PWRITEV_RMW_HEAD] = "pwritev_rmw.head",
|
|
|
9ae3a8 |
+ [BLKDBG_PWRITEV_RMW_AFTER_HEAD] = "pwritev_rmw.after_head",
|
|
|
9ae3a8 |
+ [BLKDBG_PWRITEV_RMW_TAIL] = "pwritev_rmw.tail",
|
|
|
9ae3a8 |
+ [BLKDBG_PWRITEV_RMW_AFTER_TAIL] = "pwritev_rmw.after_tail",
|
|
|
9ae3a8 |
+ [BLKDBG_PWRITEV] = "pwritev",
|
|
|
9ae3a8 |
+ [BLKDBG_PWRITEV_ZERO] = "pwritev_zero",
|
|
|
9ae3a8 |
+ [BLKDBG_PWRITEV_DONE] = "pwritev_done",
|
|
|
9ae3a8 |
};
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
static int get_event_by_name(const char *name, BlkDebugEvent *event)
|
|
|
9ae3a8 |
diff --git a/include/block/block.h b/include/block/block.h
|
|
|
9ae3a8 |
index feb1926..13ef173 100644
|
|
|
9ae3a8 |
--- a/include/block/block.h
|
|
|
9ae3a8 |
+++ b/include/block/block.h
|
|
|
9ae3a8 |
@@ -498,6 +498,14 @@ typedef enum {
|
|
|
9ae3a8 |
BLKDBG_CLUSTER_ALLOC_BYTES,
|
|
|
9ae3a8 |
BLKDBG_CLUSTER_FREE,
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
+ BLKDBG_PWRITEV_RMW_HEAD,
|
|
|
9ae3a8 |
+ BLKDBG_PWRITEV_RMW_AFTER_HEAD,
|
|
|
9ae3a8 |
+ BLKDBG_PWRITEV_RMW_TAIL,
|
|
|
9ae3a8 |
+ BLKDBG_PWRITEV_RMW_AFTER_TAIL,
|
|
|
9ae3a8 |
+ BLKDBG_PWRITEV,
|
|
|
9ae3a8 |
+ BLKDBG_PWRITEV_ZERO,
|
|
|
9ae3a8 |
+ BLKDBG_PWRITEV_DONE,
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
BLKDBG_EVENT_MAX,
|
|
|
9ae3a8 |
} BlkDebugEvent;
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
diff --git a/tests/qemu-iotests/077 b/tests/qemu-iotests/077
|
|
|
9ae3a8 |
new file mode 100755
|
|
|
9ae3a8 |
index 0000000..bbf7b51
|
|
|
9ae3a8 |
--- /dev/null
|
|
|
9ae3a8 |
+++ b/tests/qemu-iotests/077
|
|
|
9ae3a8 |
@@ -0,0 +1,278 @@
|
|
|
9ae3a8 |
+#!/bin/bash
|
|
|
9ae3a8 |
+#
|
|
|
9ae3a8 |
+# Test concurrent pread/pwrite
|
|
|
9ae3a8 |
+#
|
|
|
9ae3a8 |
+# Copyright (C) 2014 Red Hat, Inc.
|
|
|
9ae3a8 |
+#
|
|
|
9ae3a8 |
+# This program is free software; you can redistribute it and/or modify
|
|
|
9ae3a8 |
+# it under the terms of the GNU General Public License as published by
|
|
|
9ae3a8 |
+# the Free Software Foundation; either version 2 of the License, or
|
|
|
9ae3a8 |
+# (at your option) any later version.
|
|
|
9ae3a8 |
+#
|
|
|
9ae3a8 |
+# This program is distributed in the hope that it will be useful,
|
|
|
9ae3a8 |
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
9ae3a8 |
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
9ae3a8 |
+# GNU General Public License for more details.
|
|
|
9ae3a8 |
+#
|
|
|
9ae3a8 |
+# You should have received a copy of the GNU General Public License
|
|
|
9ae3a8 |
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
9ae3a8 |
+#
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+# creator
|
|
|
9ae3a8 |
+owner=kwolf@redhat.com
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+seq=`basename $0`
|
|
|
9ae3a8 |
+echo "QA output created by $seq"
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+here=`pwd`
|
|
|
9ae3a8 |
+tmp=/tmp/$$
|
|
|
9ae3a8 |
+status=1 # failure is the default!
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+_cleanup()
|
|
|
9ae3a8 |
+{
|
|
|
9ae3a8 |
+ _cleanup_test_img
|
|
|
9ae3a8 |
+}
|
|
|
9ae3a8 |
+trap "_cleanup; exit \$status" 0 1 2 3 15
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+# get standard environment, filters and checks
|
|
|
9ae3a8 |
+. ./common.rc
|
|
|
9ae3a8 |
+. ./common.filter
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+_supported_fmt generic
|
|
|
9ae3a8 |
+_supported_proto generic
|
|
|
9ae3a8 |
+_supported_os Linux
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+CLUSTER_SIZE=4k
|
|
|
9ae3a8 |
+size=128M
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+_make_test_img $size
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+echo
|
|
|
9ae3a8 |
+echo "== Some concurrent requests involving RMW =="
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+function test_io()
|
|
|
9ae3a8 |
+{
|
|
|
9ae3a8 |
+echo "open -o file.align=4k blkdebug::$TEST_IMG"
|
|
|
9ae3a8 |
+# A simple RMW request
|
|
|
9ae3a8 |
+cat <
|
|
|
9ae3a8 |
+aio_write -P 10 0x200 0x200
|
|
|
9ae3a8 |
+aio_flush
|
|
|
9ae3a8 |
+EOF
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+# Sequential RMW requests on the same physical sector
|
|
|
9ae3a8 |
+off=0x1000
|
|
|
9ae3a8 |
+for ev in "head" "after_head" "tail" "after_tail"; do
|
|
|
9ae3a8 |
+cat <
|
|
|
9ae3a8 |
+break pwritev_rmw.$ev A
|
|
|
9ae3a8 |
+aio_write -P 10 $((off + 0x200)) 0x200
|
|
|
9ae3a8 |
+wait_break A
|
|
|
9ae3a8 |
+aio_write -P 11 $((off + 0x400)) 0x200
|
|
|
9ae3a8 |
+sleep 100
|
|
|
9ae3a8 |
+resume A
|
|
|
9ae3a8 |
+aio_flush
|
|
|
9ae3a8 |
+EOF
|
|
|
9ae3a8 |
+off=$((off + 0x1000))
|
|
|
9ae3a8 |
+done
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+# Chained dependencies
|
|
|
9ae3a8 |
+cat <
|
|
|
9ae3a8 |
+break pwritev_rmw.after_tail A
|
|
|
9ae3a8 |
+aio_write -P 10 0x5000 0x200
|
|
|
9ae3a8 |
+wait_break A
|
|
|
9ae3a8 |
+aio_write -P 11 0x5200 0x200
|
|
|
9ae3a8 |
+aio_write -P 12 0x5400 0x200
|
|
|
9ae3a8 |
+aio_write -P 13 0x5600 0x200
|
|
|
9ae3a8 |
+aio_write -P 14 0x5800 0x200
|
|
|
9ae3a8 |
+aio_write -P 15 0x5a00 0x200
|
|
|
9ae3a8 |
+aio_write -P 16 0x5c00 0x200
|
|
|
9ae3a8 |
+aio_write -P 17 0x5e00 0x200
|
|
|
9ae3a8 |
+sleep 100
|
|
|
9ae3a8 |
+resume A
|
|
|
9ae3a8 |
+aio_flush
|
|
|
9ae3a8 |
+EOF
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+# Overlapping multiple requests
|
|
|
9ae3a8 |
+cat <
|
|
|
9ae3a8 |
+break pwritev_rmw.after_tail A
|
|
|
9ae3a8 |
+aio_write -P 10 0x6000 0x200
|
|
|
9ae3a8 |
+wait_break A
|
|
|
9ae3a8 |
+break pwritev_rmw.after_head B
|
|
|
9ae3a8 |
+aio_write -P 10 0x7e00 0x200
|
|
|
9ae3a8 |
+wait_break B
|
|
|
9ae3a8 |
+aio_write -P 11 0x6800 0x1000
|
|
|
9ae3a8 |
+resume A
|
|
|
9ae3a8 |
+sleep 100
|
|
|
9ae3a8 |
+resume B
|
|
|
9ae3a8 |
+aio_flush
|
|
|
9ae3a8 |
+EOF
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+cat <
|
|
|
9ae3a8 |
+break pwritev_rmw.after_tail A
|
|
|
9ae3a8 |
+aio_write -P 10 0x8000 0x200
|
|
|
9ae3a8 |
+wait_break A
|
|
|
9ae3a8 |
+break pwritev_rmw.after_head B
|
|
|
9ae3a8 |
+aio_write -P 10 0x9e00 0x200
|
|
|
9ae3a8 |
+wait_break B
|
|
|
9ae3a8 |
+aio_write -P 11 0x8800 0x1000
|
|
|
9ae3a8 |
+resume B
|
|
|
9ae3a8 |
+sleep 100
|
|
|
9ae3a8 |
+resume A
|
|
|
9ae3a8 |
+aio_flush
|
|
|
9ae3a8 |
+EOF
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+cat <
|
|
|
9ae3a8 |
+break pwritev_rmw.after_tail A
|
|
|
9ae3a8 |
+aio_write -P 10 0xa000 0x200
|
|
|
9ae3a8 |
+wait_break A
|
|
|
9ae3a8 |
+aio_write -P 11 0xa800 0x1000
|
|
|
9ae3a8 |
+break pwritev_rmw.after_head B
|
|
|
9ae3a8 |
+aio_write -P 10 0xbe00 0x200
|
|
|
9ae3a8 |
+wait_break B
|
|
|
9ae3a8 |
+resume A
|
|
|
9ae3a8 |
+sleep 100
|
|
|
9ae3a8 |
+resume B
|
|
|
9ae3a8 |
+aio_flush
|
|
|
9ae3a8 |
+EOF
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+cat <
|
|
|
9ae3a8 |
+break pwritev_rmw.after_tail A
|
|
|
9ae3a8 |
+aio_write -P 10 0xc000 0x200
|
|
|
9ae3a8 |
+wait_break A
|
|
|
9ae3a8 |
+aio_write -P 11 0xc800 0x1000
|
|
|
9ae3a8 |
+break pwritev_rmw.after_head B
|
|
|
9ae3a8 |
+aio_write -P 10 0xde00 0x200
|
|
|
9ae3a8 |
+wait_break B
|
|
|
9ae3a8 |
+resume B
|
|
|
9ae3a8 |
+sleep 100
|
|
|
9ae3a8 |
+resume A
|
|
|
9ae3a8 |
+aio_flush
|
|
|
9ae3a8 |
+EOF
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+# Only RMW for the tail part
|
|
|
9ae3a8 |
+cat <
|
|
|
9ae3a8 |
+break pwritev_rmw.after_tail A
|
|
|
9ae3a8 |
+aio_write -P 10 0xe000 0x1800
|
|
|
9ae3a8 |
+wait_break A
|
|
|
9ae3a8 |
+aio_write -P 11 0xf000 0xc00
|
|
|
9ae3a8 |
+sleep 100
|
|
|
9ae3a8 |
+resume A
|
|
|
9ae3a8 |
+aio_flush
|
|
|
9ae3a8 |
+EOF
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+cat <
|
|
|
9ae3a8 |
+break pwritev A
|
|
|
9ae3a8 |
+aio_write -P 10 0x10000 0x800
|
|
|
9ae3a8 |
+wait_break A
|
|
|
9ae3a8 |
+break pwritev_rmw.after_tail B
|
|
|
9ae3a8 |
+aio_write -P 11 0x10000 0x400
|
|
|
9ae3a8 |
+break pwritev_done C
|
|
|
9ae3a8 |
+resume A
|
|
|
9ae3a8 |
+wait_break C
|
|
|
9ae3a8 |
+resume C
|
|
|
9ae3a8 |
+sleep 100
|
|
|
9ae3a8 |
+wait_break B
|
|
|
9ae3a8 |
+resume B
|
|
|
9ae3a8 |
+aio_flush
|
|
|
9ae3a8 |
+EOF
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+cat <
|
|
|
9ae3a8 |
+break pwritev A
|
|
|
9ae3a8 |
+aio_write -P 10 0x11000 0x800
|
|
|
9ae3a8 |
+wait_break A
|
|
|
9ae3a8 |
+aio_write -P 11 0x11000 0x1000
|
|
|
9ae3a8 |
+sleep 100
|
|
|
9ae3a8 |
+resume A
|
|
|
9ae3a8 |
+aio_flush
|
|
|
9ae3a8 |
+EOF
|
|
|
9ae3a8 |
+}
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+test_io | $QEMU_IO | _filter_qemu_io | \
|
|
|
9ae3a8 |
+ sed -e 's,[0-9/]* bytes at offset [0-9]*,XXX/XXX bytes at offset XXX,g' \
|
|
|
9ae3a8 |
+ -e 's/^[0-9]* \(bytes\|KiB\)/XXX bytes/' \
|
|
|
9ae3a8 |
+ -e '/Suspended/d'
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+echo
|
|
|
9ae3a8 |
+echo "== Verify image content =="
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+function verify_io()
|
|
|
9ae3a8 |
+{
|
|
|
9ae3a8 |
+ # A simple RMW request
|
|
|
9ae3a8 |
+ echo read -P 0 0 0x200
|
|
|
9ae3a8 |
+ echo read -P 10 0x200 0x200
|
|
|
9ae3a8 |
+ echo read -P 0 0x400 0xc00
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+ # Sequential RMW requests on the same physical sector
|
|
|
9ae3a8 |
+ echo read -P 0 0x1000 0x200
|
|
|
9ae3a8 |
+ echo read -P 10 0x1200 0x200
|
|
|
9ae3a8 |
+ echo read -P 11 0x1400 0x200
|
|
|
9ae3a8 |
+ echo read -P 0 0x1600 0xa00
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+ echo read -P 0 0x2000 0x200
|
|
|
9ae3a8 |
+ echo read -P 10 0x2200 0x200
|
|
|
9ae3a8 |
+ echo read -P 11 0x2400 0x200
|
|
|
9ae3a8 |
+ echo read -P 0 0x2600 0xa00
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+ echo read -P 0 0x3000 0x200
|
|
|
9ae3a8 |
+ echo read -P 10 0x3200 0x200
|
|
|
9ae3a8 |
+ echo read -P 11 0x3400 0x200
|
|
|
9ae3a8 |
+ echo read -P 0 0x3600 0xa00
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+ echo read -P 0 0x4000 0x200
|
|
|
9ae3a8 |
+ echo read -P 10 0x4200 0x200
|
|
|
9ae3a8 |
+ echo read -P 11 0x4400 0x200
|
|
|
9ae3a8 |
+ echo read -P 0 0x4600 0xa00
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+ # Chained dependencies
|
|
|
9ae3a8 |
+ echo read -P 10 0x5000 0x200
|
|
|
9ae3a8 |
+ echo read -P 11 0x5200 0x200
|
|
|
9ae3a8 |
+ echo read -P 12 0x5400 0x200
|
|
|
9ae3a8 |
+ echo read -P 13 0x5600 0x200
|
|
|
9ae3a8 |
+ echo read -P 14 0x5800 0x200
|
|
|
9ae3a8 |
+ echo read -P 15 0x5a00 0x200
|
|
|
9ae3a8 |
+ echo read -P 16 0x5c00 0x200
|
|
|
9ae3a8 |
+ echo read -P 17 0x5e00 0x200
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+ # Overlapping multiple requests
|
|
|
9ae3a8 |
+ echo read -P 10 0x6000 0x200
|
|
|
9ae3a8 |
+ echo read -P 0 0x6200 0x600
|
|
|
9ae3a8 |
+ echo read -P 11 0x6800 0x1000
|
|
|
9ae3a8 |
+ echo read -P 0 0x7800 0x600
|
|
|
9ae3a8 |
+ echo read -P 10 0x7e00 0x200
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+ echo read -P 10 0x8000 0x200
|
|
|
9ae3a8 |
+ echo read -P 0 0x8200 0x600
|
|
|
9ae3a8 |
+ echo read -P 11 0x8800 0x1000
|
|
|
9ae3a8 |
+ echo read -P 0 0x9800 0x600
|
|
|
9ae3a8 |
+ echo read -P 10 0x9e00 0x200
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+ echo read -P 10 0xa000 0x200
|
|
|
9ae3a8 |
+ echo read -P 0 0xa200 0x600
|
|
|
9ae3a8 |
+ echo read -P 11 0xa800 0x1000
|
|
|
9ae3a8 |
+ echo read -P 0 0xb800 0x600
|
|
|
9ae3a8 |
+ echo read -P 10 0xbe00 0x200
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+ echo read -P 10 0xc000 0x200
|
|
|
9ae3a8 |
+ echo read -P 0 0xc200 0x600
|
|
|
9ae3a8 |
+ echo read -P 11 0xc800 0x1000
|
|
|
9ae3a8 |
+ echo read -P 0 0xd800 0x600
|
|
|
9ae3a8 |
+ echo read -P 10 0xde00 0x200
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+ # Only RMW for the tail part
|
|
|
9ae3a8 |
+ echo read -P 10 0xe000 0x1000
|
|
|
9ae3a8 |
+ echo read -P 11 0xf800 0x400
|
|
|
9ae3a8 |
+ echo read -P 0 0xfc00 0x400
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+ echo read -P 11 0x10000 0x400
|
|
|
9ae3a8 |
+ echo read -P 10 0x10400 0x400
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+ echo read -P 11 0x11800 0x800
|
|
|
9ae3a8 |
+}
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+verify_io | $QEMU_IO "$TEST_IMG" | _filter_qemu_io
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+_check_test_img
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+# success, all done
|
|
|
9ae3a8 |
+echo "*** done"
|
|
|
9ae3a8 |
+rm -f $seq.full
|
|
|
9ae3a8 |
+status=0
|
|
|
9ae3a8 |
diff --git a/tests/qemu-iotests/077.out b/tests/qemu-iotests/077.out
|
|
|
9ae3a8 |
new file mode 100644
|
|
|
9ae3a8 |
index 0000000..ab61234
|
|
|
9ae3a8 |
--- /dev/null
|
|
|
9ae3a8 |
+++ b/tests/qemu-iotests/077.out
|
|
|
9ae3a8 |
@@ -0,0 +1,202 @@
|
|
|
9ae3a8 |
+QA output created by 077
|
|
|
9ae3a8 |
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+== Some concurrent requests involving RMW ==
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+blkdebug: Resuming request 'A'
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+blkdebug: Resuming request 'A'
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+blkdebug: Resuming request 'A'
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+blkdebug: Resuming request 'A'
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+blkdebug: Resuming request 'A'
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+blkdebug: Resuming request 'A'
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+blkdebug: Resuming request 'B'
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+blkdebug: Resuming request 'B'
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+blkdebug: Resuming request 'A'
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+blkdebug: Resuming request 'A'
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+blkdebug: Resuming request 'B'
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+blkdebug: Resuming request 'B'
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+blkdebug: Resuming request 'A'
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+blkdebug: Resuming request 'A'
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+blkdebug: Resuming request 'A'
|
|
|
9ae3a8 |
+blkdebug: Resuming request 'C'
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+blkdebug: Resuming request 'B'
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+blkdebug: Resuming request 'A'
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+wrote XXX/XXX bytes at offset XXX
|
|
|
9ae3a8 |
+XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+
|
|
|
9ae3a8 |
+== Verify image content ==
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 0
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 512
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 3072/3072 bytes at offset 1024
|
|
|
9ae3a8 |
+3 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 4096
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 4608
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 5120
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 2560/2560 bytes at offset 5632
|
|
|
9ae3a8 |
+2.500 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 8192
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 8704
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 9216
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 2560/2560 bytes at offset 9728
|
|
|
9ae3a8 |
+2.500 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 12288
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 12800
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 13312
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 2560/2560 bytes at offset 13824
|
|
|
9ae3a8 |
+2.500 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 16384
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 16896
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 17408
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 2560/2560 bytes at offset 17920
|
|
|
9ae3a8 |
+2.500 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 20480
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 20992
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 21504
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 22016
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 22528
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 23040
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 23552
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 24064
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 24576
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 1536/1536 bytes at offset 25088
|
|
|
9ae3a8 |
+1.500 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 4096/4096 bytes at offset 26624
|
|
|
9ae3a8 |
+4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 1536/1536 bytes at offset 30720
|
|
|
9ae3a8 |
+1.500 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 32256
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 32768
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 1536/1536 bytes at offset 33280
|
|
|
9ae3a8 |
+1.500 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 4096/4096 bytes at offset 34816
|
|
|
9ae3a8 |
+4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 1536/1536 bytes at offset 38912
|
|
|
9ae3a8 |
+1.500 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 40448
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 40960
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 1536/1536 bytes at offset 41472
|
|
|
9ae3a8 |
+1.500 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 4096/4096 bytes at offset 43008
|
|
|
9ae3a8 |
+4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 1536/1536 bytes at offset 47104
|
|
|
9ae3a8 |
+1.500 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 48640
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 49152
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 1536/1536 bytes at offset 49664
|
|
|
9ae3a8 |
+1.500 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 4096/4096 bytes at offset 51200
|
|
|
9ae3a8 |
+4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 1536/1536 bytes at offset 55296
|
|
|
9ae3a8 |
+1.500 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 512/512 bytes at offset 56832
|
|
|
9ae3a8 |
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 4096/4096 bytes at offset 57344
|
|
|
9ae3a8 |
+4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 1024/1024 bytes at offset 63488
|
|
|
9ae3a8 |
+1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 1024/1024 bytes at offset 64512
|
|
|
9ae3a8 |
+1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 1024/1024 bytes at offset 65536
|
|
|
9ae3a8 |
+1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 1024/1024 bytes at offset 66560
|
|
|
9ae3a8 |
+1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+read 2048/2048 bytes at offset 71680
|
|
|
9ae3a8 |
+2 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
9ae3a8 |
+No errors were found on the image.
|
|
|
9ae3a8 |
+*** done
|
|
|
9ae3a8 |
diff --git a/tests/qemu-iotests/group b/tests/qemu-iotests/group
|
|
|
9ae3a8 |
index 50a726e..dd70acb 100644
|
|
|
9ae3a8 |
--- a/tests/qemu-iotests/group
|
|
|
9ae3a8 |
+++ b/tests/qemu-iotests/group
|
|
|
9ae3a8 |
@@ -71,3 +71,4 @@
|
|
|
9ae3a8 |
067 rw auto
|
|
|
9ae3a8 |
068 rw auto
|
|
|
9ae3a8 |
070 rw auto
|
|
|
9ae3a8 |
+077 rw auto
|
|
|
9ae3a8 |
--
|
|
|
9ae3a8 |
1.7.1
|
|
|
9ae3a8 |
|