qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 2/4] qemu-img: make --block-size optional for compare --st


From: Hanna Reitz
Subject: Re: [PATCH v3 2/4] qemu-img: make --block-size optional for compare --stat
Date: Tue, 2 Nov 2021 13:48:06 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0

On 28.10.21 12:24, Vladimir Sementsov-Ogievskiy wrote:
Let's detect block-size automatically if not specified by user:

  If both files define cluster-size, use minimum to be more precise.
  If both files don't specify cluster-size, use default of 64K
  If only one file specify cluster-size, just use it.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
---
  docs/tools/qemu-img.rst |  7 +++-
  qemu-img.c              | 71 +++++++++++++++++++++++++++++++++++++----
  qemu-img-cmds.hx        |  4 +--
  3 files changed, 72 insertions(+), 10 deletions(-)

Reviewed-by: Hanna Reitz <hreitz@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]