Kevin Wolf
ffa41a62d0
iotests/109: Don't mirror with mismatched size
...
This patch makes the raw image the same size as the file in a different
format that is mirrored as raw to it to avoid errors when mirror starts
to enforce that source and target are the same size.
We check only that the first 512 bytes are zeroed (instead of 64k)
because some image formats create image files that are smaller than 64k,
so trying to read 64k would result in I/O errors. Apart from this, 512
is more appropriate anyway because the raw format driver protects
specifically the first 512 bytes.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20200511135825.219437-2-kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2020-05-18 19:05:24 +02:00
..
2020-05-05 13:17:36 +02:00
2019-12-18 11:20:57 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-03-24 12:05:31 +01:00
2020-03-24 12:05:31 +01:00
2020-03-24 12:05:31 +01:00
2020-01-30 21:01:40 +00:00
2020-01-06 13:43:07 +01:00
2020-05-05 13:17:36 +02:00
2020-01-06 13:43:07 +01:00
2020-05-13 14:20:31 +02:00
2020-03-26 14:44:33 +01:00
2020-05-13 14:20:31 +02:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:06 +01:00
2020-02-18 10:53:56 +01:00
2020-02-18 10:53:56 +01:00
2020-05-08 13:26:35 +02:00
2020-02-18 14:52:16 +01:00
2020-01-06 13:43:07 +01:00
2020-02-07 15:12:48 +01:00
2020-02-07 15:12:48 +01:00
2020-04-07 13:51:09 +02:00
2020-04-07 13:51:09 +02:00
2020-01-06 13:43:07 +01:00
2019-12-18 11:20:57 +01:00
2020-05-13 14:20:31 +02:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2019-11-19 10:01:34 +01:00
2020-05-05 13:17:36 +02:00
2020-01-06 13:43:07 +01:00
2019-04-30 15:29:00 +02:00
2020-05-08 13:26:35 +02:00
2020-05-08 13:26:35 +02:00
2020-02-07 15:12:48 +01:00
2020-02-07 15:12:48 +01:00
2020-01-30 21:01:40 +00:00
2020-05-08 13:26:35 +02:00
2020-04-07 13:51:09 +02:00
2020-05-13 14:20:31 +02:00
2020-05-05 13:17:36 +02:00
2020-05-13 14:20:31 +02:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-05-13 14:20:31 +02:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-05-13 14:20:31 +02:00
2020-01-06 13:43:07 +01:00
2020-05-08 13:26:35 +02:00
2020-05-13 14:20:31 +02:00
2019-10-28 11:22:31 +01:00
2019-10-28 11:22:31 +01:00
2020-03-24 11:57:38 +01:00
2020-05-13 14:20:31 +02:00
2020-03-24 11:57:38 +01:00
2020-01-06 13:43:07 +01:00
2020-01-30 21:01:40 +00:00
2020-01-06 13:43:07 +01:00
2020-05-08 13:26:35 +02:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-02-07 15:12:48 +01:00
2020-01-06 13:43:07 +01:00
2019-11-18 20:33:48 -06:00
2020-01-06 13:43:07 +01:00
2019-11-18 20:33:48 -06:00
2020-02-07 15:12:48 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2019-06-04 15:20:41 +02:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-05-18 19:05:24 +02:00
2020-05-18 19:05:24 +02:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-05-08 13:26:35 +02:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2019-11-18 20:33:48 -06:00
2020-02-07 15:12:48 +01:00
2020-01-06 13:43:07 +01:00
2020-02-20 16:43:42 +01:00
2020-02-20 16:43:42 +01:00
2020-01-06 13:43:07 +01:00
2020-02-07 15:12:48 +01:00
2020-01-06 13:43:07 +01:00
2020-02-06 13:47:45 +01:00
2019-11-18 20:33:48 -06:00
2020-02-07 15:12:48 +01:00
2020-02-07 15:12:48 +01:00
2020-05-05 13:17:36 +02:00
2020-02-07 15:12:48 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-03-26 14:52:43 +01:00
2020-03-26 14:52:43 +01:00
2020-02-20 16:43:42 +01:00
2019-10-28 11:22:31 +01:00
2019-11-18 20:33:48 -06:00
2020-01-06 13:43:07 +01:00
2020-01-27 17:19:53 +01:00
2020-01-06 13:43:07 +01:00
2019-10-28 11:22:31 +01:00
2019-11-18 20:33:48 -06:00
2020-01-06 13:43:07 +01:00
2020-05-13 14:20:31 +02:00
2020-02-20 16:43:42 +01:00
2020-05-08 13:26:35 +02:00
2020-05-05 13:17:36 +02:00
2020-02-07 15:12:48 +01:00
2020-02-07 15:12:48 +01:00
2020-05-05 13:17:36 +02:00
2020-05-05 13:17:36 +02:00
2020-05-05 13:17:36 +02:00
2020-03-11 15:54:38 +01:00
2020-01-06 13:43:07 +01:00
2019-11-18 20:33:48 -06:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2019-11-18 20:33:48 -06:00
2019-10-10 12:13:23 +02:00
2020-02-07 15:12:48 +01:00
2020-02-07 15:15:16 +01:00
2020-02-07 15:12:48 +01:00
2019-11-26 14:18:01 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2019-11-18 20:33:48 -06:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-04-07 13:51:09 +02:00
2020-03-11 12:42:29 +01:00
2020-03-11 12:42:29 +01:00
2020-03-11 12:42:29 +01:00
2020-01-30 21:01:40 +00:00
2020-01-06 13:43:07 +01:00
2020-05-13 14:20:31 +02:00
2020-02-06 13:47:45 +01:00
2019-11-18 20:33:48 -06:00
2020-01-30 21:01:40 +00:00
2020-05-13 14:20:31 +02:00
2020-01-06 13:43:07 +01:00
2020-05-05 13:17:36 +02:00
2019-03-08 12:26:45 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2019-11-18 20:33:48 -06:00
2019-10-28 11:22:31 +01:00
2019-10-28 11:22:31 +01:00
2020-05-05 13:17:36 +02:00
2020-01-06 13:43:07 +01:00
2020-02-07 15:12:48 +01:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-05-13 14:20:31 +02:00
2020-02-07 15:12:48 +01:00
2020-01-30 21:01:40 +00:00
2019-11-18 20:33:48 -06:00
2020-01-30 21:01:40 +00:00
2020-05-05 13:17:36 +02:00
2020-05-05 13:17:36 +02:00
2020-02-07 15:12:48 +01:00
2020-05-05 13:17:36 +02:00
2020-05-13 14:20:31 +02:00
2020-05-05 13:17:36 +02:00
2020-05-05 13:17:36 +02:00
2020-05-05 13:17:36 +02:00
2020-05-05 13:17:36 +02:00
2020-05-05 13:17:36 +02:00
2020-05-05 13:17:36 +02:00
2020-05-05 13:17:36 +02:00
2020-02-25 20:20:09 +00:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-05-05 13:17:36 +02:00
2020-01-06 13:43:07 +01:00
2020-05-05 13:17:36 +02:00
2020-05-05 13:17:36 +02:00
2020-01-27 17:19:53 +01:00
2020-01-06 13:43:07 +01:00
2020-05-05 13:17:36 +02:00
2020-02-05 17:22:13 -06:00
2020-02-05 17:22:13 -06:00
2020-05-05 13:17:36 +02:00
2020-01-06 13:43:07 +01:00
2019-04-30 15:29:00 +02:00
2020-05-05 13:17:36 +02:00
2020-01-06 13:43:07 +01:00
2019-11-18 20:33:48 -06:00
2020-01-06 13:43:07 +01:00
2020-05-05 13:17:36 +02:00
2020-05-05 13:17:36 +02:00
2020-05-05 13:17:36 +02:00
2020-05-05 13:17:36 +02:00
2020-05-05 13:17:36 +02:00
2019-10-28 11:22:31 +01:00
2019-10-28 11:22:31 +01:00
2020-05-05 13:17:36 +02:00
2020-05-13 14:20:31 +02:00
2020-01-06 13:43:07 +01:00
2020-04-30 17:51:06 +02:00
2020-04-30 17:51:06 +02:00
2020-05-05 13:17:36 +02:00
2020-05-05 13:17:36 +02:00
2020-05-05 13:17:36 +02:00
2020-01-06 13:43:07 +01:00
2020-05-05 13:17:36 +02:00
2020-01-06 13:43:07 +01:00
2019-11-18 20:33:48 -06:00
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
2020-05-05 13:17:36 +02:00
2020-05-05 13:17:36 +02:00
2020-05-13 14:20:31 +02:00
2020-05-05 13:17:36 +02:00
2020-02-07 15:12:48 +01:00
2020-05-05 13:17:36 +02:00
2020-02-20 16:43:42 +01:00
2020-02-20 16:43:42 +01:00
2020-05-05 13:17:36 +02:00
2020-01-06 13:43:07 +01:00
2019-10-28 11:54:49 +01:00
2020-05-05 13:17:36 +02:00
2019-09-16 15:37:12 +02:00
2020-05-05 13:17:36 +02:00
2020-01-06 13:43:07 +01:00
2020-02-07 15:15:16 +01:00
2019-12-19 14:32:43 +01:00
2020-02-06 13:47:45 +01:00
2019-10-28 11:22:31 +01:00
2019-11-07 14:37:46 +01:00
2019-11-07 14:37:46 +01:00
2020-01-06 13:43:07 +01:00
2019-12-19 13:20:10 +01:00
2020-05-05 13:17:36 +02:00
2020-05-13 14:20:31 +02:00
2020-05-05 13:17:36 +02:00
2019-11-18 16:01:31 -06:00
2020-03-24 11:57:38 +01:00
2019-12-18 11:20:57 +01:00
2020-05-05 13:17:36 +02:00
2020-05-13 14:20:31 +02:00
2020-02-07 15:12:48 +01:00
2020-01-27 17:19:53 +01:00
2020-03-11 15:54:38 +01:00
2020-03-11 15:54:38 +01:00
2020-05-08 13:26:35 +02:00
2020-05-08 13:26:35 +02:00
2020-02-20 16:43:42 +01:00
2020-02-20 16:43:42 +01:00
2020-02-20 16:43:42 +01:00
2020-02-20 16:43:42 +01:00
2020-05-13 14:20:31 +02:00
2020-05-13 14:20:31 +02:00
2020-03-11 12:42:29 +01:00
2020-03-11 12:42:29 +01:00
2020-03-24 12:05:31 +01:00
2020-03-24 12:05:31 +01:00
2020-04-07 13:51:09 +02:00
2020-04-07 13:51:09 +02:00
2020-05-08 13:26:35 +02:00
2020-05-08 13:26:35 +02:00
2020-05-08 13:26:35 +02:00
2020-05-18 19:05:24 +02:00
2019-10-28 11:22:31 +01:00
2020-04-07 13:51:09 +02:00
2019-11-18 20:33:48 -06:00
2020-05-08 13:26:35 +02:00
2020-05-13 14:20:31 +02:00
2020-05-05 13:17:36 +02:00
2020-02-07 15:15:16 +01:00
2020-05-05 13:17:36 +02:00
2020-02-07 15:15:16 +01:00
2020-02-07 15:15:16 +01:00