On Tue, 22.07.14 06:29, Andrey Borzenkov (arvidj...@gmail.com) wrote: > В Mon, 21 Jul 2014 18:15:37 +0300 > Timofey Titovets <nefelim...@gmail.com> пишет: > > > Zbyszek, i research problem and i found what in btrfs.h > > struct btrfs_ioctl_defrag_range_args not defined > > This acceptable if i add it in missing.h like: > > /* btrfs_ioctl_defrag_range_args now 21.07.2014 > > * not defined in btrfs.h and duplicated from <kernel>/fs/btrfs/ctree.h > > */ > > #ifdef HAVE_LINUX_BTRFS_H > > struct btrfs_ioctl_defrag_range_args { > > uint64_t start; /* start byte = 0 */ > > uint64_t len; /* whole file uint64_t-1 */ > > uint64_t flags; /* start_io 2 */ > > uint32_t extent_thresh; /* 0 */ > > uint32_t compress_type; > > uint32_t unused[4]; > > }; > > #endif > > > > I think it should really be discussed on btrfs list. It must be > properly exported to user space if user space is going to use it.
Well, the ioctls of btrfs seldom come with proper userpace headers unfortunately... Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel