Re: [PATCH v11 14/14] btrfs: send: enable support for stream v2 and compressed writes

From
Omar Sandoval <osandov@osandov.com>
Date
2021-10-18 18:34:25
Also in
linux-btrfs, linux-fsdevel
Reply to
Nikolay Borisov, 2021-10-18
On Mon, Oct 18, 2021 at 03:44:23PM +0300, Nikolay Borisov wrote:

On 1.09.21 г. 20:01, Omar Sandoval wrote:
quoted
From: Omar Sandoval <redacted>

Now that the new support is implemented, allow the ioctl to accept the
flags and update the version in sysfs.
This seems like an appropriate place to bring up the discussion about
versioned streams. SO instead of adding a BTRFS_SEND_FLAG_STREAM_V2
flag, which implies that for the next version we have to add
BTRFS_SEND_FLAG_STREAM_V3 etc. Why not generalize the flag to
BTRFS_SEND_FLAG_STREAM_VERSIONED and carve an u32 from one of the
reserved fields so that in the future we simply increment the version field?
Yes, that definitely sounds better.
Thread (62 messages) 62 messages, 2 authors, last reply 2022-01-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help