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

Fixes for LVS export and import #40

Merged
merged 2 commits into from
Feb 20, 2024
Merged

Fixes for LVS export and import #40

merged 2 commits into from
Feb 20, 2024

Conversation

dsavitskiy
Copy link
Collaborator

No description provided.

Copy link

@tiagolobocastro tiagolobocastro left a comment

Choose a reason for hiding this comment

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

Linting is failing, please fix that before merging.

Btw this is a chunky change, I wonder if we should attempt to merge this upstream?

lib/blob/request.c Outdated Show resolved Hide resolved
@dsavitskiy
Copy link
Collaborator Author

Linting is failing, please fix that before merging.

Btw this is a chunky change, I wonder if we should attempt to merge this upstream?

Yes, I think we should.

@dsavitskiy dsavitskiy force-pushed the lvol_fixes branch 2 times, most recently from b34188b to af86fa0 Compare February 20, 2024 13:20
With large number of volumes and/or snapshots, a blobstore may
run out of "request set" objects that are used to perform metadata I/O.
The "request sets" are allocated from per-channel object pools, which
are limited by 512 items by default. This effectively limits number of
simultaneous metadata I/O requests.
This commit enables a dynamic growth of per-channel "request set" pools.

Signed-off-by: Dmitry Savitskiy <[email protected]>
When importing an LVS, logical volumes are iterated and opened in a loop.
This can cause I/O requests to accumulate, and lead out-of-resource condition.
This fix iterates and open LVOLs asynchronously.

Signed-off-by: Dmitry Savitskiy <[email protected]>
@dsavitskiy dsavitskiy merged commit 3bb3414 into v23.05.x-mayastor Feb 20, 2024
2 checks passed
@dsavitskiy dsavitskiy deleted the lvol_fixes branch February 20, 2024 14:31
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