[Devel] [PATCH hci-8.1 v7 04/10] dm-ploop: factor out ploop_read_delta() from ploop_add_delta()
no-reply at sashiko.virtuozzo.com
no-reply at sashiko.virtuozzo.com
Tue Nov 17 20:24:25 MSK 2026
> Move reading of delta BAT and applying its mappings to
> ploop->bat_entries into a separate function ploop_read_delta(). It
> will be used to reload metadata of already added deltas.
>
> ploop_read_delta() takes is_raw from deltas[level], so ploop_add_delta()
> sets it before the call.
>
> Replace the stale comment of ploop_add_delta(): it claimed deltas are
> added from oldest to newest, while ploop_add_deltas_stack() adds them
> from top to base, which ploop_read_delta() relies on.
>
> No functional changes.
>
> https://virtuozzo.atlassian.net/browse/VSTOR-148171
> Feature: dm-ploop: ploop target driver
>
> Signed-off-by: Alexander Ivanov <alexander.ivanov at virtuozzo.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261117171743.3216794-1-alexander.ivanov@virtuozzo.com?part=4
More information about the Devel
mailing list