Re: [RFC PATCH 6/7] Btrfs: introduce BTRFS_IOC_SEND for btrfs send/receive (part 1)
From: Arne Jansen <hidden>
Date: 2012-07-21 10:53:12
From: Arne Jansen <hidden>
Date: 2012-07-21 10:53:12
On 07/04/2012 03:38 PM, Alexander Block wrote:
This patch introduces the BTRFS_IOC_SEND ioctl that is required for send. It allows btrfs-progs to implement full and incremental sends. Patches for btrfs-progs will follow. I had to split the patch as it got larger then 100k which is the limit for the mailing list. The first part only contains the send.h header and the helper functions for TLV handling and long path name handling and some other helpers. The second part contains the actual send logic from send.c Signed-off-by: Alexander Block <redacted> ---
[snip]
+
+struct name_cache_entry {
+ struct list_head list;
+ struct list_head use_list;unused.
+ u64 ino; + u64 gen; + u64 parent_ino; + u64 parent_gen; + int ret; + int need_later_update; + int name_len; + char name[]; +}; +