Skip to content

Subvolume ro/rw and received_uuid

David Sterba linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5btrfs-progs: subvol show: print send and receive generation and timestampcmds/subvolume.c+21 -00 replies
2/5btrfs-progs: dump-tree: print complete root_itemkernel-shared/print-tree.c+22 -310 replies
3/5btrfs-progs: props: add force parameter to setcmds/property.c cmds/props.h+30 -150 replies
4/5btrfs-progs: property: ro->rw and received_uuidcmds/property.c+57 -04 replies
5/5btrfs-progs: tests: subvolume ro->rw switch and received_uuidtests/misc-tests/050-receive-prop-ro-to-rw/test.sh+42 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Subvolume ro/rw and received_uuid

Here's implemented the userspace prevention of accidental ro->rw switch of sent subvolumes. It's not finialized but the main idea is there so here we go argue, as we haven't reached a consensus with Nikolay what is the right usability approach.

There are two patches extending the printed information about root items and subvolumes but they're only for convenience, that I also used for debugging.

David Sterba (5):
btrfs-progs: subvol show: print send and receive generation and
timestamp
btrfs-progs: dump-tree: print complete root_item
btrfs-progs: props: add force parameter to set
btrfs-progs: property: ro->rw and received_uuid
btrfs-progs: tests: subvolume ro->rw switch and received_uuid

 cmds/property.c                               | 99 ++++++++++++++++---
 cmds/props.h                                  |  3 +-
 cmds/subvolume.c                              | 21 ++++
 kernel-shared/print-tree.c                    | 53 +++++-----
 .../050-receive-prop-ro-to-rw/test.sh         | 42 ++++++++
 5 files changed, 172 insertions(+), 46 deletions(-)
 create mode 100755 tests/misc-tests/050-receive-prop-ro-to-rw/test.sh
Signature · 1 line
2.33.0