Skip to content

Add user-space support for read-only snapshot creation.

Andreas Philipp linux-btrfs 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 0 repliesNew
  2. v15 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Fixed uninitialized variable (args).
- Corrected order of patches to make everything compile.
- Fixed some style errors.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Added support for an additional ioctl.ioctl.h+14 -00 replies
2/5Add support for read-only subvolumes.btrfs_cmds.c+40 -80 replies
3/5Support the new parameters in do_clone(int argc, char** argv).btrfs.c+3 -30 replies
4/5Test the additional ioctl.ioctl-test.c+1 -00 replies
5/5Updated manpage for btrfs subvolume snapshot.man/btrfs.8.in+6 -50 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/5] Add user-space support for read-only snapshot creation.

Changelog v2:
- Fixed uninitialized variable (args).
- Corrected order of patches to make everything compile.
- Fixed some style errors.

There is kernel side support for the creation of read-only snapshots for some time now, but I did not find any patches for the userspace btrfs utilites. Thus I created this patchset which is tested and working with kernel version 2.6.39-rc2.

Andreas Philipp (5):
Added support for an additional ioctl.
Add support for read-only subvolumes.
Support the new parameters in do_clone(int argc, char** argv). Test the additional ioctl.
Updated manpage for btrfs subvolume snapshot.

 btrfs.c        |    6 +++---
 btrfs_cmds.c   |   48 ++++++++++++++++++++++++++++++++++++++++--------
 ioctl-test.c   |    1 +
 ioctl.h        |   14 ++++++++++++++
 man/btrfs.8.in |   11 ++++++-----
 5 files changed, 64 insertions(+), 16 deletions(-)
Signature · 1 line
1.7.4.1