Home
last modified time | relevance | path

Searched hist:e8d04f92378c2de7b464e04469a657fd37eb29ea (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/
H A Dqemu-io-cmds.cdiff e8d04f92378c2de7b464e04469a657fd37eb29ea Wed Sep 18 04:51:43 CDT 2019 Max Reitz <mreitz@redhat.com> 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>
H A Dqemu-img.cdiff e8d04f92378c2de7b464e04469a657fd37eb29ea Wed Sep 18 04:51:43 CDT 2019 Max Reitz <mreitz@redhat.com> 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>
/openbmc/qemu/block/
H A Dparallels.cdiff e8d04f92378c2de7b464e04469a657fd37eb29ea Wed Sep 18 04:51:43 CDT 2019 Max Reitz <mreitz@redhat.com> 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>
H A Dqed.cdiff e8d04f92378c2de7b464e04469a657fd37eb29ea Wed Sep 18 04:51:43 CDT 2019 Max Reitz <mreitz@redhat.com> 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>
H A Dqcow2.cdiff e8d04f92378c2de7b464e04469a657fd37eb29ea Wed Sep 18 04:51:43 CDT 2019 Max Reitz <mreitz@redhat.com> 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>