Btrfs: Readonly snapshots
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest posting 2/23 patches 0 repliesNew
- v3 posting 1/21 patch 0 repliesSuperseded
- v25 patches 5 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 5 patches | 7 replies | Superseded |
Patches in v3 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Btrfs: Refactor btrfs_ioctl_snap_create()fs/ | +40 | 0 replies | |
| 2/3 | Btrfs: Add readonly snapshots supportfs/ fs/ fs/ +4 more | +75 | 0 replies | |
| 3/3 | Btrfs: Add BTRFS_IOC_SUBVOL_GETFLAGS/SETFLAGS ioctlsfs/ fs/ | +85 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/3] Btrfs: Readonly snapshots
This patchset adds readonly-snapshots support. You can create a readonly snapshot, and you can also set a snapshot (subvolume also) readonly/writable on the fly.
A few readonly checks are added in setattr, permission, remove_xattr and set_xattr callbacks, as well as in some ioctls.
The patchset is also available in:
git://repo.or.cz/linux-btrfs-devel.git readonly-snapshots
--- fs/btrfs/ctree.h | 7 ++ fs/btrfs/inode.c | 8 ++ fs/btrfs/ioctl.c | 199 ++++++++++++++++++++++++++++++++++++------------ fs/btrfs/ioctl.h | 3 + fs/btrfs/transaction.c | 8 ++ fs/btrfs/transaction.h | 1 + fs/btrfs/xattr.c | 18 +++++ 7 files changed, 195 insertions(+), 49 deletions(-)