ostree/man
Giuseppe Scrivano 127d8bb846 commit: add logic for .payload-link
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
2018-03-07 18:28:59 +00:00
..
ostree-admin-cleanup.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-config-diff.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-deploy.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-init-fs.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-instutil.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-os-init.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-pin.xml sysroot: Add concept of deployment "pinning" 📌 2018-02-26 19:06:59 +00:00
ostree-admin-set-origin.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-status.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-switch.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-undeploy.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-unlock.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-upgrade.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-cat.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-checkout.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-checksum.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-commit.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-config.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-diff.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-export.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-find-remotes.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-fsck.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-gpg-sign.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-init.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-log.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-ls.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-prune.xml docs/prune: Document that --static-deltas-only isn't that useful 2018-03-06 14:02:32 +00:00
ostree-pull-local.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-pull.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-refs.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-remote.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-reset.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-rev-parse.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-show.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-static-delta.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-summary.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-trivial-httpd.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree.repo-config.xml commit: add logic for .payload-link 2018-03-07 18:28:59 +00:00
ostree.repo.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
rofiles-fuse.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00