On Fri, Sep 13, 2024 at 07:39:35PM +0300, Andrey Drobyshev wrote: > Move the definition from iotests/250 to common.rc. This is used to > detect real disk usage of sparse files. In particular, we want to use > it for checking subclusters-based discards. > > Signed-off-by: Andrey Drobyshev <andrey.drobys...@virtuozzo.com> > Reviewed-by: Alexander Ivanov <alexander.iva...@virtuozzo.com> > Reviewed-by: Alberto Garcia <be...@igalia.com> > --- > tests/qemu-iotests/250 | 5 ----- > tests/qemu-iotests/common.rc | 6 ++++++ > 2 files changed, 6 insertions(+), 5 deletions(-)
Hmm - I should probably refactor my recent blockdev-mirror sparse test to take advantage of this as well. https://lists.gnu.org/archive/html/qemu-devel/2025-04/msg01799.html -- Eric Blake, Principal Software Engineer Red Hat, Inc. Virtualization: qemu.org | libguestfs.org