Repository navigation
mgr/vol: make some improvements - #54616
Merged
Merged
Conversation
kotreshhr
reviewed
Nov 22, 2023
neesingh-rh
reviewed
Nov 22, 2023
It's not obvious where the clone creation is performed. It's especially obfuscated because we call the function/method for cloning indirectly. Therefore, add comments where necessary and mark it with heavy rating. Same goes for all other "subvolume snapshot clone" operations. Signed-off-by: Rishabh Dave <[email protected]>
rishabh-d-dave
force-pushed
the
mgr-vol-improvements
branch
from
November 23, 2023 05:14
f5d9eeb to
d899af0
Compare
Contributor
Author
|
Last make check failure is unrelated. |
Contributor
Author
|
jenkins test make check |
rishabh-d-dave
force-pushed
the
mgr-vol-improvements
branch
from
November 23, 2023 08:57
d899af0 to
9202fe8
Compare
neesingh-rh
reviewed
Nov 23, 2023
rishabh-d-dave
force-pushed
the
mgr-vol-improvements
branch
from
November 23, 2023 10:52
9202fe8 to
f67143d
Compare
Contributor
Author
Contributor
Author
|
jenkins test api |
Contributor
Author
Instead of writing like this -
if abcd1.abcd2(abcd3) and abcd4 == abcd5
print('efgh6')
if abcd7.abcd8(abcd9) and abcd4 == abcd5
print('efgh10')
Write like this because it easier to read, especially in case of the
patch where condition under is really long -
if abcd4 == abcd5:
if abcd1.abcd2(abcd3):
print('abcd4')
if abcd5.abcd8(abcd9):
print('abcd5')
Signed-off-by: Rishabh Dave <[email protected]>
rishabh-d-dave
force-pushed
the
mgr-vol-improvements
branch
from
November 25, 2023 05:40
f67143d to
9fa0ba0
Compare
Method "open_clone_subvolume_pair()" returns subvolumes, yet return value is named as clone_volume. Rectify this mistake. Signed-off-by: Rishabh Dave <[email protected]>
rishabh-d-dave
force-pushed
the
mgr-vol-improvements
branch
from
November 28, 2023 08:34
9fa0ba0 to
060de1d
Compare
Contributor
Author
Contributor
Author
vshankar
approved these changes
Nov 29, 2023
This was referenced Nov 30, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e