# Re: \[PATCH v11 10/14\] btrfs: add send stream v2 definitions

- From: Nikolay Borisov \<hidden\>
- Date: 2021-10-18 12:46:23 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2021/10/216240
- Thread: https://ratatoskr.run/linux-btrfs/2021/09/213534/t.md

```text


On 1.09.21 г. 20:01, Omar Sandoval wrote:
> From: Omar Sandoval <redacted>
> 
> 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 flags.
> 
> Reviewed-by: Josef Bacik <josef@toxicpanda.com>
> Signed-off-by: Omar Sandoval <redacted>

Reviewed-by: Nikolay Borisov <redacted>

```
