Skip to content

storage: clone_device: increase dd block size#2650

Merged
IsaacJT merged 2 commits intoOSInside:mainfrom
IsaacJT:increase-dd-block-size
Sep 24, 2024
Merged

storage: clone_device: increase dd block size#2650
IsaacJT merged 2 commits intoOSInside:mainfrom
IsaacJT:increase-dd-block-size

Conversation

@IsaacJT
Copy link
Collaborator

@IsaacJT IsaacJT commented Sep 20, 2024

Changes proposed in this pull request:

  • Increase the block size used for dd reduces the time needed to clone a device.

dd operations take a long time, especially on cross-architecture builds using kiwi-boxed-plugin. This should help to speed it up a bit.

Increasing the block size used for dd reduces the time needed to clone a
device.

Signed-off-by: Isaac True <isaac@is.having.coffee>
@IsaacJT IsaacJT requested a review from schaefi September 20, 2024 14:24
@IsaacJT IsaacJT self-assigned this Sep 20, 2024
@schaefi
Copy link
Collaborator

schaefi commented Sep 20, 2024

@IsaacJT a good change, thanks. Can you adapt the corresponding unit test too ? Thanks

Signed-off-by: Isaac True <isaac@is.having.coffee>
@IsaacJT
Copy link
Collaborator Author

IsaacJT commented Sep 23, 2024

@schaefi done :)

Copy link
Collaborator

@schaefi schaefi left a comment

Choose a reason for hiding this comment

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

Thanks, looks good to me 👍

@IsaacJT IsaacJT merged commit 8c805d1 into OSInside:main Sep 24, 2024
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.

2 participants