chiark / gitweb /
journald: whenever we rotate a file, btrfs defrag it
[elogind.git] / src / shared / btrfs-util.h
index 1532c120df127e803b07157dbb293f4c4eefd33a..1bff9171d7e1b96e76455e81021d9abb1dea8d77 100644 (file)
@@ -57,3 +57,6 @@ int btrfs_subvol_get_quota_fd(int fd, BtrfsQuotaInfo *quota);
 int btrfs_reflink(int infd, int outfd);
 
 int btrfs_get_block_device(const char *path, dev_t *dev);
+
+int btrfs_defrag_fd(int fd);
+int btrfs_defrag(const char *p);