Max Reitz
e8d04f9237
block: Pass truncate exact=true where reasonable
...
This is a change in behavior, so all instances need a good
justification. The comments added here should explain my reasoning.
qed already had a comment that suggests it always expected
bdrv_truncate()/blk_truncate() to behave as if exact=true were passed
(c743849bee7 came eight months before 55b949c8476), so it was simply
broken until now.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190918095144.955-8-mreitz@redhat.com
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
[mreitz: Changed comment in qed.c to explain why a new QED file must be
empty, as requested and suggested by Maxim]
Signed-off-by: Max Reitz <mreitz@redhat.com>
2019-10-28 12:08:45 +01:00
..
2019-10-10 10:56:18 +02:00
2019-10-10 10:56:17 +02:00
2019-10-10 10:56:18 +02:00
2019-10-10 10:56:18 +02:00
2019-10-25 15:15:01 +02:00
2019-06-14 14:16:57 +02:00
2019-06-12 13:18:33 +02:00
2019-10-14 17:12:48 +02:00
2019-06-12 13:18:33 +02:00
2019-10-28 12:00:07 +01:00
2019-10-28 11:22:31 +01:00
2019-09-16 14:48:30 +02:00
2019-09-16 14:48:30 +02:00
2019-10-28 12:00:07 +01:00
2019-10-28 11:59:51 +01:00
2019-09-13 12:18:37 +02:00
2019-10-28 12:05:30 +01:00
2019-05-13 08:58:55 +02:00
2019-09-16 15:31:12 +02:00
2019-10-17 17:02:32 -04:00
2019-06-12 13:20:20 +02:00
2018-12-14 11:52:40 +01:00
2019-09-16 14:48:30 +02:00
2019-06-12 13:20:20 +02:00
2019-10-28 12:05:24 +01:00
2019-10-28 12:00:07 +01:00
2019-10-28 12:00:07 +01:00
2019-10-28 12:00:07 +01:00
2019-06-12 13:18:33 +02:00
2019-10-28 12:05:24 +01:00
2019-06-12 13:20:20 +02:00
2019-10-10 10:56:18 +02:00
2019-10-28 12:00:07 +01:00
2019-10-22 09:22:07 -05:00
2019-10-28 12:00:07 +01:00
2019-10-14 17:12:48 +02:00
2019-10-28 11:34:35 +01:00
2019-10-28 12:08:45 +01:00
2018-02-09 05:05:11 +01:00
2019-10-10 10:56:18 +02:00
2019-10-17 17:53:28 -04:00
2019-06-12 13:20:20 +02:00
2019-10-14 17:12:48 +02:00
2019-10-28 12:00:07 +01:00
2019-10-28 11:54:09 +01:00
2019-09-16 15:36:22 +02:00
2019-10-28 12:08:45 +01:00
2019-10-28 11:54:01 +01:00
2019-10-28 12:00:07 +01:00
2019-04-30 15:29:00 +02:00
2019-04-30 15:29:00 +02:00
2019-10-28 12:08:45 +01:00
2019-04-30 15:29:00 +02:00
2019-06-12 13:18:33 +02:00
2019-10-28 12:05:30 +01:00
2019-10-28 12:00:07 +01:00
2019-10-10 10:56:18 +02:00
2019-10-28 12:00:07 +01:00
2019-10-04 11:52:40 +02:00
2019-10-28 12:00:07 +01:00
2019-09-10 08:58:43 +02:00
2019-08-16 13:31:52 +02:00
2019-06-12 13:18:33 +02:00
2019-10-28 11:34:35 +01:00
2019-10-28 12:00:07 +01:00
2019-06-12 13:20:20 +02:00
2019-10-28 12:00:07 +01:00
2019-10-28 12:00:07 +01:00
2019-04-30 15:29:00 +02:00
2019-10-28 12:00:07 +01:00
2019-10-28 12:00:07 +01:00
2019-09-16 14:48:30 +02:00
2019-10-14 17:12:48 +02:00
2019-06-12 13:18:33 +02:00
2018-08-28 18:21:38 +02:00