• O
    btrfs: send: add stream v2 definitions · b7c14f23
    Omar Sandoval 提交于
    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: NJosef Bacik <josef@toxicpanda.com>
    Signed-off-by: NOmar Sandoval <osandov@fb.com>
    Signed-off-by: NDavid Sterba <dsterba@suse.com>
    b7c14f23
send.c 193.5 KB