• Omar Sandoval's avatar
    btrfs: send: add stream v2 definitions · b7c14f23
    Omar Sandoval authored
    This adds the definitions of the new commands for send stream version 2
    and their respective attributes: fallocate, FS_IOC_SETFLAGS (a.k.a.
    chattr), and encoded writes. It also documents two changes to the send
    stream format in v2: the receiver shouldn't assume a maximum command
    size, and the DATA attribute is encoded differently to allow for writes
    larger than 64k. These will be implemented in subsequent changes, and
    then the ioctl will accept the new version and flag.
    Reviewed-by: default avatarJosef Bacik <josef@toxicpanda.com>
    Signed-off-by: default avatarOmar Sandoval <osandov@fb.com>
    Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
    b7c14f23
send.h 3.45 KB