cli, client: Refuse layer chains that mix bitmap_granularity #171

Open
koolkhel wants to merge 1 commits from koolkhel/vitastor:layer-granularity into master

1 Commits

Author SHA1 Message Date
d4d277a242 cli, client: Refuse layer chains that mix bitmap_granularity
Reads through a layer chain whose pools differ in bitmap_granularity merge
layer bitmaps in the wrong unit: they return parent data over the child's
or abort the client. Refuse to create or merge such chains in vitastor-cli
(create --parent, snap-create -p, merge-data, flatten, rm), and fail a
read through such a parent unless the child covers the whole range or
covers none of it and the range is aligned to the parent's granularity.
2026-11-23 12:56:44 +03:00