On 4/11/25 8:48 PM, Eric Blake wrote: > 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 <[email protected]> >> Reviewed-by: Alexander Ivanov <[email protected]> >> Reviewed-by: Alberto Garcia <[email protected]> >> --- >> 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 >
Sure, though it'd apparently be easier to use when this series gets finally merged :) It's been hanging out there for quite a while now, and it's been neither rejected, nor fully reviewed: v1: https://lore.kernel.org/all/[email protected]/ v2: https://lore.kernel.org/all/[email protected]/ v3: https://lore.kernel.org/all/[email protected]/ Could somebody please take yet another look at this? Maybe @Hanna, @Kevin, @Alberto? Of course I might need to rebase it to the latest master. Andrey
