mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-06 17:18:25 +03:00
127d8bb846
When a new object is added to the repository, create a $PAYLOAD-SHA256.payload-link symlink file as well. The target of the symlink is the checksum of the object that was added the repository. Whenever we add a new object file, in addition to lookup if the file is already present with the same checksum we also check if an object with the same payload is in the repository. If a file with the same payload is already present in the repository, we copy it with `glnx_regfile_copy_bytes` that internally attempts to create a reflink (ioctl (..., FICLONE, ..)) to the target file if the file system supports it. This enables to have objects that share the payload but have a different inode and xattrs. By default the payload-link-threshold value is G_MAXUINT64 that disables the feature. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Closes: #1443 Approved by: cgwalters |
||
---|---|---|
.. | ||
ostree-admin-cleanup.xml | ||
ostree-admin-config-diff.xml | ||
ostree-admin-deploy.xml | ||
ostree-admin-init-fs.xml | ||
ostree-admin-instutil.xml | ||
ostree-admin-os-init.xml | ||
ostree-admin-pin.xml | ||
ostree-admin-set-origin.xml | ||
ostree-admin-status.xml | ||
ostree-admin-switch.xml | ||
ostree-admin-undeploy.xml | ||
ostree-admin-unlock.xml | ||
ostree-admin-upgrade.xml | ||
ostree-admin.xml | ||
ostree-cat.xml | ||
ostree-checkout.xml | ||
ostree-checksum.xml | ||
ostree-commit.xml | ||
ostree-config.xml | ||
ostree-diff.xml | ||
ostree-export.xml | ||
ostree-find-remotes.xml | ||
ostree-fsck.xml | ||
ostree-gpg-sign.xml | ||
ostree-init.xml | ||
ostree-log.xml | ||
ostree-ls.xml | ||
ostree-prune.xml | ||
ostree-pull-local.xml | ||
ostree-pull.xml | ||
ostree-refs.xml | ||
ostree-remote.xml | ||
ostree-reset.xml | ||
ostree-rev-parse.xml | ||
ostree-show.xml | ||
ostree-static-delta.xml | ||
ostree-summary.xml | ||
ostree-trivial-httpd.xml | ||
ostree.repo-config.xml | ||
ostree.repo.xml | ||
ostree.xml | ||
rofiles-fuse.xml |