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

Add defrag status data structures #2385

Merged
merged 6 commits into from
Dec 18, 2023

Conversation

twang-ps
Copy link
Contributor

What this PR does / why we need it:
This PR added defrag status proto message. It defines the status of defragmentation operations on nodes and pools

Which issue(s) this PR fixes (optional)
Closes #
or
PWX-

Testing Notes
Add testing output or passing unit test output here.

Special notes for your reviewer:
Add any notes for the reviewer here.

Copy link
Member

@sangleganesh sangleganesh left a comment

Choose a reason for hiding this comment

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

can you fix format of the file before you merge ? thanks

api/api.proto Outdated
// NumIterations counts the number of times the pool gets defraged
uint32 num_iterations = 1;
// Running indicates whether the pool is being defraged
bool running = 2;
Copy link
Member

Choose a reason for hiding this comment

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

formatting looks off.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@twang-ps twang-ps merged commit def904a into libopenstorage:master Dec 18, 2023
2 checks passed
twang-ps added a commit to twang-ps/openstorage that referenced this pull request Jul 9, 2024
(cherry picked from commit def904a)
Signed-off-by: Tengxiao Wang <[email protected]>
twang-ps added a commit that referenced this pull request Jul 10, 2024
* Add a new type of Job: DefragJob (#2375)
(cherry picked from commit 759bca7)

* Add defrag status data structures (#2385)
(cherry picked from commit def904a)

* Add generic schedule structure; add fields for defrag schedule (#2408)
(cherry picked from commit 5aaf214)

* Add server and APIs for defrag and schedule services (#2426)
(cherry picked from commit e80fd7f)

* Change OpenStorageSchedule API parameter type to string (#2454)
(cherry picked from commit e4b050e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants