-
Notifications
You must be signed in to change notification settings - Fork 0
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
Use writeback rather then the default writethrough for compression #1
base: master
Are you sure you want to change the base?
Conversation
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.
LGTM
This builds for me, but will not produce an image.
@kronos30 When we talked I seem to remember you having an issue with building? Did I misremember that? |
I was try to build locally using the instructions in the repo and the issue was my I haven't had a chance to re-try it, as I suspect I may be doing something incorrectly. |
After building packer-sdc, Likely need the following
Here is my template
You need to add the policy statements so that no services get started. |
The following PR is to help increase the speed of compression/conversions. The default option is
writethrough
, which is a slower process thenwriteback
. For our purposes, it appears it takes close to 15 minutes, perhaps even more for the compression/conversion to take place. This change is in the attempts to improve the speed of this conversion by switching to use writeback.Reference: https://opendev.org/openstack/nova/commit/e7b64eaad82db38dd46f586b650da4ddde42533b
and https://linux.die.net/man/1/qemu-img