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

XSI-1457: Limit number of sectors to coalesce #5215

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

Vincent-lau
Copy link
Contributor

To make the progress bar display more interactive, we limit the amount of consecutive sectors to coalesce when generating a list to copy.

ocaml/libs/vhd/vhd_format/f.ml Show resolved Hide resolved
ocaml/libs/vhd/vhd_format/f.ml Show resolved Hide resolved
We limit the number of sectors to coalesce when generating a list of
elements to be copied. The limit is currently set to 4 MiB. This allows
the progress bar to be displayed at a finer granularity rather than
going from 0 to 100 in one go due to one big sector being generated.

Signed-off-by: Vincent Liu <shuntian.liu2@cloud.com>
@robhoes robhoes merged commit 50e4bc3 into xapi-project:master Oct 27, 2023
6 checks passed
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.

4 participants