bcachefs: Snapshot creation, deletion
This is the final patch in the patch series implementing snapshots.
This patch implements two new ioctls that work like creation and
deletion of directories, but fancier.
- BCH_IOCTL_SUBVOLUME_CREATE, for creating new subvolumes and snaphots
- BCH_IOCTL_SUBVOLUME_DESTROY, for deleting subvolumes and snapshots
Signed-off-by:
Kent Overstreet <kent.overstreet@gmail.com>
Showing
- fs/bcachefs/dirent.c 0 additions, 8 deletionsfs/bcachefs/dirent.c
- fs/bcachefs/dirent.h 0 additions, 4 deletionsfs/bcachefs/dirent.h
- fs/bcachefs/fs-common.c 148 additions, 34 deletionsfs/bcachefs/fs-common.c
- fs/bcachefs/fs-common.h 5 additions, 2 deletionsfs/bcachefs/fs-common.h
- fs/bcachefs/fs-ioctl.c 168 additions, 0 deletionsfs/bcachefs/fs-ioctl.c
- fs/bcachefs/fs.c 16 additions, 13 deletionsfs/bcachefs/fs.c
- fs/bcachefs/fs.h 2 additions, 1 deletionfs/bcachefs/fs.h
- fs/bcachefs/fsck.c 4 additions, 3 deletionsfs/bcachefs/fsck.c
- fs/bcachefs/recovery.c 1 addition, 1 deletionfs/bcachefs/recovery.c
- fs/bcachefs/str_hash.h 4 additions, 3 deletionsfs/bcachefs/str_hash.h
Loading
Please register or sign in to comment