]> git.ipfire.org Git - thirdparty/systemd.git/commit
copy: Introduce reflink() and reflink_full()
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 27 Apr 2023 18:37:50 +0000 (20:37 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 27 Apr 2023 23:57:03 +0000 (00:57 +0100)
commitb640e274a7c363a2b6394c9dce5671d9404d2e2a
treec19180439582ff18879d13ef8964228e9cccd042
parentfafded0ce0902e948cdeeaa6a12609a28d9c3ded
copy: Introduce reflink() and reflink_full()

The kernel has had filesystem independent reflink ioctls for a
while now, let's try to use them and fall back to the btrfs specific
ones if they're not supported.
src/basic/missing_fs.h
src/import/export-raw.c
src/import/import-raw.c
src/import/qcow2-util.c
src/shared/btrfs-util.c
src/shared/btrfs-util.h
src/shared/copy.c
src/shared/copy.h