Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(volume/resize): don't allow volume resize for snapshot restore vols #777

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

dsharma-dc
Copy link
Contributor

@dsharma-dc dsharma-dc commented Mar 8, 2024

If a volume is expanded after taking a snapshot or a restore created from that snapshot is expanded, then the IOs to the new io-units(block ranges) fails because the lba range falls out of bound for replica's parent device(snapshot). Till the issue is fixed, this check ensures we don't try to expand a volume if there is snapshot present. SPDK issue 3108.

@dsharma-dc dsharma-dc changed the title feat(volume/resize): don't allow volume resize for snapshot restore v… feat(volume/resize): don't allow volume resize for snapshot restore vols Mar 8, 2024
…olume

Signed-off-by: Diwakar Sharma <diwakar.sharma@datacore.com>
@dsharma-dc
Copy link
Contributor Author

bors merge

@bors-openebs-mayastor
Copy link

Build succeeded:

@bors-openebs-mayastor bors-openebs-mayastor bot merged commit dd02e20 into develop Mar 8, 2024
4 checks passed
@bors-openebs-mayastor bors-openebs-mayastor bot deleted the clone_no_resize branch March 8, 2024 12:34
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.

3 participants