Skip to content

cephfs: add subvolume snapshot metadata APIs#698

Merged
mergify[bot] merged 1 commit intoceph:masterfrom
pkalever:snapshot-metadata
Jun 13, 2022
Merged

cephfs: add subvolume snapshot metadata APIs#698
mergify[bot] merged 1 commit intoceph:masterfrom
pkalever:snapshot-metadata

Conversation

@pkalever
Copy link

@pkalever pkalever commented May 30, 2022

Description

Exports below APIs:
SetSnapshotMetadata,
GetSnapshotMetadata(),
RemoveSnapshotMetadata(),
ForceRemoveSnapshotMetadata() and
ListSnapshotMetadata()

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>

Checklist

  • Added tests for features and functional changes
  • Public functions and types are documented
  • Standard formatting is applied to Go code
  • Is this a new API? Is this new API marked PREVIEW?

Additional information to reviewers/Maintainers:
This PR needs ceph/ceph#46086 which is not merged upstream yet, but the cmd schemas will mostly be same.
Update: ceph/ceph#46086 is merged upstream now.

@pkalever pkalever marked this pull request as draft May 30, 2022 12:39
@pkalever pkalever force-pushed the snapshot-metadata branch from ad63fc4 to 4cd1c84 Compare May 30, 2022 12:41
@pkalever pkalever marked this pull request as ready for review May 30, 2022 12:46
@phlogistonjohn phlogistonjohn added the API This PR includes a change to the public API of a go-ceph package label May 31, 2022
@phlogistonjohn
Copy link
Collaborator

@Mergifyio rebase

@mergify
Copy link

mergify bot commented Jun 6, 2022

rebase

✅ Branch has been successfully rebased

@nixpanic nixpanic force-pushed the snapshot-metadata branch from 4cd1c84 to cd80d6e Compare June 6, 2022 14:17
@phlogistonjohn
Copy link
Collaborator

@Mergifyio rebase

@mergify
Copy link

mergify bot commented Jun 6, 2022

rebase

✅ Branch has been successfully rebased

@nixpanic nixpanic force-pushed the snapshot-metadata branch from cd80d6e to 4dd5519 Compare June 6, 2022 14:58
@pkalever pkalever force-pushed the snapshot-metadata branch from 4dd5519 to 2c09d3f Compare June 7, 2022 08:13
pkalever pushed a commit to pkalever/ceph-csi that referenced this pull request Jun 8, 2022
This is needed for now, ceph/go-ceph#698
This PR at go-ceph add subvolume snapshot metadata APIs.

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
pkalever pushed a commit to pkalever/ceph-csi that referenced this pull request Jun 8, 2022
This is needed for now, ceph/go-ceph#698
This PR at go-ceph add subvolume snapshot metadata APIs.

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
pkalever pushed a commit to pkalever/ceph-csi that referenced this pull request Jun 8, 2022
This is needed for now, ceph/go-ceph#698
This PR at go-ceph add subvolume snapshot metadata APIs.

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
pkalever pushed a commit to pkalever/ceph-csi that referenced this pull request Jun 8, 2022
This is needed for now, ceph/go-ceph#698
This PR at go-ceph add subvolume snapshot metadata APIs.

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
@pkalever
Copy link
Author

pkalever commented Jun 9, 2022

@Mergifyio rebase

@mergify
Copy link

mergify bot commented Jun 9, 2022

rebase

☑️ Nothing to do

Details
  • -closed [:pushpin: rebase requirement]
  • any of:
    • #commits-behind>0 [:pushpin: rebase requirement]
    • -linear-history [:pushpin: rebase requirement]

@pkalever
Copy link
Author

pkalever commented Jun 9, 2022

@phlogistonjohn @ansiwen could you please help review.

@phlogistonjohn
Copy link
Collaborator

This has the same api-status.json issue as PR #691. Also, I think the PRs conflict with each other, no? Maybe we should just focus on #691 first?

@pkalever
Copy link
Author

This has the same api-status.json issue as PR #691. Also, I think the PRs conflict with each other, no? Maybe we should just focus on #691 first?

Yes @phlogistonjohn I will address the comments and rebase this resolving the conflicting parts post #691 merge.

pkalever pushed a commit to pkalever/ceph-csi that referenced this pull request Jun 10, 2022
This is needed for now, ceph/go-ceph#698
This PR at go-ceph add subvolume snapshot metadata APIs.

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
@pkalever pkalever force-pushed the snapshot-metadata branch 2 times, most recently from 4c63e9f to 3beae75 Compare June 13, 2022 06:40
Copy link
Collaborator

@ansiwen ansiwen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. When my approval gets lost later after rebasing, feel free to merge it also without me re-approval.

@phlogistonjohn
Copy link
Collaborator

@Mergifyio rebase

Exports below APIs:
SetSnapshotMetadata(),
GetSnapshotMetadata(),
RemoveSnapshotMetadata(),
ForceRemoveSnapshotMetadata() and
ListSnapshotMetadata()

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
@mergify
Copy link

mergify bot commented Jun 13, 2022

rebase

✅ Branch has been successfully rebased

@ktdreyer ktdreyer force-pushed the snapshot-metadata branch from 3beae75 to e384d45 Compare June 13, 2022 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API This PR includes a change to the public API of a go-ceph package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants