[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 06/11] iotests/290: add test case to check 'discard-no-unr
From: |
Alberto Garcia |
Subject: |
Re: [PATCH v2 06/11] iotests/290: add test case to check 'discard-no-unref' option behavior |
Date: |
Fri, 24 May 2024 08:42:26 +0200 |
On Mon 13 May 2024 09:31:58 AM +03, Andrey Drobyshev wrote:
> We basically fill 2 images with identical data and perform discard
> operations with and without 'discard-no-unref' enabled. Then we check
> that images still read identically, that their disk usage is the same
> (i.e. fallocate(FALLOC_FL_PUNCH_HOLE|FALLOC_FL_KEEP_SIZE) is called for
> both) and that with the option enabled cluster is still marked as
> allocated in "qemu-img map" output. We also check that the option
> doesn't work with qcow2 v2 images.
>
> Signed-off-by: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Berto
- Re: [PATCH v2 05/11] iotests/common.rc: add disk_usage function, (continued)
- [PATCH v2 07/11] qcow2: add get_sc_range_info() helper for working with subcluster ranges, Andrey Drobyshev, 2024/05/13
- [PATCH v2 03/11] qcow2: put discard requests in the common queue when discard-no-unref enabled, Andrey Drobyshev, 2024/05/13
- [PATCH v2 09/11] qcow2: make subclusters discardable, Andrey Drobyshev, 2024/05/13
- [PATCH v2 06/11] iotests/290: add test case to check 'discard-no-unref' option behavior, Andrey Drobyshev, 2024/05/13
- [PATCH v2 04/11] block/file-posix: add trace event for fallocate() calls, Andrey Drobyshev, 2024/05/13
- [PATCH v2 10/11] qcow2: zero_l2_subclusters: fall through to discard operation when requested, Andrey Drobyshev, 2024/05/13
- [PATCH v2 11/11] iotests/271: add test cases for subcluster-based discard/unmap, Andrey Drobyshev, 2024/05/13