[Rpm-maint] [rpm-software-management/rpm] RPM with Copy on Write (#1470)
malmond77
notifications at github.com
Mon Feb 1 01:37:22 UTC 2021
@malmond77 commented on this pull request.
> +#define NOT_FOUND 0
+
+#define BUFFER_SIZE (1024 * 128)
+
+/* magic value at end of file (64 bits) that indicates this is a transcoded rpm */
+#define MAGIC 3472329499408095051
+
+struct reflink_state_s {
+ /* Stuff that's used across rpms */
+ long fundamental_block_size;
+ char *buffer;
+
+ /* stuff that's used/updated per psm */
+ uint32_t keys, keysize;
+
+ // table for current rpm, keys * (keysize + sizeof(rpm_loff_t))
Also addressed in 91f7284e961cdbecdfec5beedbce03ee2f0fbd85
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1470#discussion_r567521417
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210131/da6854c3/attachment.html>
More information about the Rpm-maint
mailing list