summaryrefslogtreecommitdiff
path: root/fs/btrfs/send.h
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2022-03-17 10:25:43 -0700
committerDavid Sterba <dsterba@suse.com>2022-07-25 17:45:32 +0200
commitd6815592806f481244d0e3435ca1f5383d90a14c (patch)
tree798ac449b7ce2037e322d9abcc704d199ddee8b3 /fs/btrfs/send.h
parent3ea4dc5bf00c7d16e17efe5b29c38ded0b6ffeef (diff)
btrfs: send: enable support for stream v2 and compressed writes
Now that the new support is implemented, allow the ioctl to accept v2 and the compressed flag, and update the version in sysfs. Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/send.h')
-rw-r--r--fs/btrfs/send.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/send.h b/fs/btrfs/send.h
index 858ce8132614..b0dc07567d09 100644
--- a/fs/btrfs/send.h
+++ b/fs/btrfs/send.h
@@ -10,7 +10,7 @@
#include "ctree.h"
#define BTRFS_SEND_STREAM_MAGIC "btrfs-stream"
-#define BTRFS_SEND_STREAM_VERSION 1
+#define BTRFS_SEND_STREAM_VERSION 2
/*
* In send stream v1, no command is larger than 64K. In send stream v2, no limit