On Mon, Dec 21, 2020, 8:19 PM Davide Cavalca via devel <devel@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
On Mon, 2020-12-21 at 12:54 -0400, Robert Marcano via devel wrote:
> On 12/21/20 12:28 PM, Ben Cotton wrote:
> > ...
> >
> > === New process ===
> >
> > # Resolve packaging request into a list of packages and operations
> > # Download and '''decompress''' packages into a '''locally
> > optimized''' rpm file
> > # Install and/or upgrade packages sequentially using RPM files,
> > using
> > '''reference linking''' (reflinking) to reuse data already on disk.
>
> This sound great because free space requirements can be reduced,
> specially when installing new packages.
>
> I have experimented building very small appliances using btrfs
> compression on things like /usr/share. So I think this could disrupt
> this because if I am correct the extends will be first downloaded to
> a
> temporary directory without compression enabled.
For CoW to be beneficial, the package cache should be on the same
filesystem used for the bulk of the system. In this scenario,
compression should work just fine, as long as it's enabled on the
appropriate subvolumes.
On btrfs there is a compression file flag so you can set compression on a directory without having compression on the DNF cache directory on the same volume
> I am happy with an option to disable this behavior.
To be clear, for this Change we do not plan to enable CoW by default.
If would be a user opt-in via the dnf-plugin-cow package.
Good, thanks
Cheers
Davide
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx lol
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx