-
Notifications
You must be signed in to change notification settings - Fork 118
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
Conversation
Signed-off-by: Tengxiao Wang <[email protected]>
Signed-off-by: Tengxiao Wang <[email protected]>
Signed-off-by: Tengxiao Wang <[email protected]>
There was a problem hiding this 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; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
formatting looks off.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Signed-off-by: Tengxiao Wang <[email protected]>
Signed-off-by: Tengxiao Wang <[email protected]>
(cherry picked from commit def904a) Signed-off-by: Tengxiao Wang <[email protected]>
* 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)
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.