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

CA-212295: Stale Refcount files on pool slaves after coalescing #314

Closed
wants to merge 2 commits into from

Conversation

kostaslambda
Copy link
Contributor

Force unlink a VHD's refcount in cleanup.LVHDSR.deleteVDI()
on all pool slaves.

Signed-off-by: Kostas Ladopoulos Konstantinos.Ladopoulos@citrix.com

@stefanopanella
Copy link
Contributor

It looks fine to me

Signed-off-by: Kostas Ladopoulos <Konstantinos.Ladopoulos@citrix.com>
@kostaslambda kostaslambda force-pushed the CA-212295 branch 5 times, most recently from 67b3c29 to 68214c3 Compare June 2, 2016 17:41
@stefanopanella
Copy link
Contributor

I had a look at the last changes for leaf-coalesce as well and they look good.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling de19b0b on kostaslamda:CA-212295 into * on xapi-project:master*.

@germanop
Copy link
Contributor

@stefanopanella , would you please ack the latest change to this pull request?
Your last comment is before that change

@germanop
Copy link
Contributor

@kostaslamda , squash the commits and make sure the remaining one have an appropriate commit message

Bug:
- On normal coalescing, the LV that was between the 2 coalesced LVs leaves
  behind its Refcount on pool slaves that have the SR attached.

Fix:
- Reset an LV's Refcount in cleanup.LVHDSR.deleteVDI()
  on all pool slaves that have the SR attached.

Bug:
- On leaf-coalescing, the parent's Refcount is left behind on pool slaves
  that have the SR attached.

Fix:
- After the parent and leaf LV renaming, reset the LV's refcount
  on all pool slaves that have the SR attached.

Signed-off-by: Kostas Ladopoulos <konstantinos.ladopoulos@citrix.com>
Reviewed-by: Stefano Panella <stefano.panella@citrix.com>
@coveralls
Copy link

Coverage Status

Coverage remained the same at 28.682% when pulling 991cbc6 on kostaslamda:CA-212295 into 13eac61 on xapi-project:master.

@germanop germanop closed this in 19bfadd Oct 17, 2016
andrey-podko pushed a commit to andrey-podko/sm that referenced this pull request Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants