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

feat(lvs): adding support for pool grow and related tests #1725

Merged

Conversation

dsavitskiy
Copy link
Contributor

  • Pool grow API support added to LVS.
  • Additional pool stats added.
  • Added support for MD reservation hint.
  • Related CLI subcommand added. 'pool list' subcommand extended to print additional pool info.
  • Related tests added.
  • For testing purposes, a non-safe support for resizing malloc bdev added.
  • To simplify adding new pool and replica parameters, LVS inner create-related APIs refactored to accept parameters via PoolArgs and ReplicaArgs instead of function arguments.
  • Added a example tool (lvs-eval) that creates an LVS with the given parameters and prints it internal configuration (allocated clusters, extent pages, etc.)

@dsavitskiy
Copy link
Contributor Author

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Aug 22, 2024
@bors-openebs-mayastor
Copy link

try

Build failed:

@dsavitskiy
Copy link
Contributor Author

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Aug 23, 2024
@bors-openebs-mayastor
Copy link

try

Build succeeded:

@dsavitskiy
Copy link
Contributor Author

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Aug 29, 2024
@bors-openebs-mayastor
Copy link

try

Timed out.

io-engine/src/grpc/v1/pool.rs Show resolved Hide resolved
io-engine/src/grpc/v1/pool.rs Show resolved Hide resolved
io-engine/src/lvm/vg_pool.rs Outdated Show resolved Hide resolved
io-engine/tests/lvs_grow.rs Outdated Show resolved Hide resolved
@dsavitskiy dsavitskiy force-pushed the feature/grow_pool_support branch 3 times, most recently from cf4d53d to cde38b5 Compare August 30, 2024 20:11
@dsavitskiy
Copy link
Contributor Author

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Aug 30, 2024
@bors-openebs-mayastor
Copy link

try

Timed out.

@dsavitskiy
Copy link
Contributor Author

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Sep 7, 2024
@bors-openebs-mayastor
Copy link

try

Build failed:

@dsavitskiy
Copy link
Contributor Author

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Sep 7, 2024
@bors-openebs-mayastor
Copy link

try

Timed out.

io-engine/src/lvs/lvs_store.rs Outdated Show resolved Hide resolved
io-engine/src/lvs/lvs_store.rs Show resolved Hide resolved
io-engine/src/lvs/lvs_store.rs Show resolved Hide resolved
@dsavitskiy
Copy link
Contributor Author

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Sep 20, 2024
@bors-openebs-mayastor
Copy link

try

Build failed:

@dsavitskiy
Copy link
Contributor Author

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Sep 21, 2024
@bors-openebs-mayastor
Copy link

try

Build succeeded:

* Pool grow API support added to LVS.
* Additional pool stats added.
* Added support for MD reservation hint.
* Related CLI subcommand added. 'pool list' subcommand extended to
  print additional pool info.
* Related tests added.
* For testing purposes, a non-safe support for resizing malloc bdev added.
* To simplify adding new pool and replica parameters, LVS inner create-related
  APIs refactored to accept parameters via PoolArgs and ReplicaArgs instead
  of function arguments.
* Added a example tool (lvs-eval) that creates an LVS with the given
  parameters and prints it internal configuration (allocated clusters,
  extent pages, etc.)

Signed-off-by: Dmitry Savitskiy <dmitry.savitskiy@datacore.com>
@dsavitskiy
Copy link
Contributor Author

bors merge

@bors-openebs-mayastor
Copy link

Build succeeded:

@bors-openebs-mayastor bors-openebs-mayastor bot merged commit 247f269 into openebs:develop Sep 23, 2024
4 checks passed
@dsavitskiy dsavitskiy deleted the feature/grow_pool_support branch September 23, 2024 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants