Skip to content

Astef prototype new controller#617

Draft
AleksZimin wants to merge 12 commits into
astef-prototypefrom
astef-prototype-new-controller
Draft

Astef prototype new controller#617
AleksZimin wants to merge 12 commits into
astef-prototypefrom
astef-prototype-new-controller

Conversation

@AleksZimin

Copy link
Copy Markdown
Member

Description

Why do we need it, and what problem does it solve?

What is the expected result?

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

@dmgtn dmgtn force-pushed the astef-prototype-new-controller branch from 69f7159 to 0da109c Compare March 22, 2026 10:46
dmgtn and others added 10 commits March 22, 2026 13:48
Signed-off-by: Pavel Karpov <pavel.karpov@flant.com>
- Read backing device discard_granularity from sysfs dynamically
- Set discard-zeroes-if-aligned=true (safe for both thin and thick LVM)
- Set rs-discard-granularity from actual device value (0 for thick, avoids reconcile drift)
- Prevents thin volume inflation during initial resync

Signed-off-by: Ivan Ogurchenok <ivan.ogurchenok@flant.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants