summaryrefslogtreecommitdiffstats
path: root/src/shared/btrfs-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-17 18:11:45 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-19 20:24:09 +0100
commit1c7dd82563ff2e71a067aea20d2acb2d0553644b (patch)
treef26693719aeea09d4ab0f94e503bf82de96fa241 /src/shared/btrfs-util.h
parentimport: when downloading raw files, show simple progress reports (diff)
downloadsystemd-1c7dd82563ff2e71a067aea20d2acb2d0553644b.tar.xz
systemd-1c7dd82563ff2e71a067aea20d2acb2d0553644b.zip
qcow2: when dissecting qcow2, use btrfs clone ioctls for reflinking blocks to target
Diffstat (limited to 'src/shared/btrfs-util.h')
-rw-r--r--src/shared/btrfs-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/btrfs-util.h b/src/shared/btrfs-util.h
index 1bff9171d7..28946c60c9 100644
--- a/src/shared/btrfs-util.h
+++ b/src/shared/btrfs-util.h
@@ -55,6 +55,7 @@ int btrfs_subvol_get_info_fd(int fd, BtrfsSubvolInfo *info);
int btrfs_subvol_get_quota_fd(int fd, BtrfsQuotaInfo *quota);
int btrfs_reflink(int infd, int outfd);
+int btrfs_clone_range(int infd, uint64_t in_offset, int ofd, uint64_t out_offset, uint64_t sz);
int btrfs_get_block_device(const char *path, dev_t *dev);