search for: list_subvol

Displaying 6 results from an estimated 6 matches for "list_subvol".

Did you mean: list_subvols
2012 Jun 29
12
[PATCH 1/3] Btrfs-progs: add support to set subvolume/snapshot readonly
Setting subvolume/snapshot readonly has been missing for a long time. With this patch, we can set a subvolume/snapshot readonly via: o btrfs subvolume set-ro <path> Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com> --- cmds-subvolume.c | 40 ++++++++++++++++++++++++++++++++++++++++ ioctl.h | 7 +++++++ 2 files changed, 47 insertions(+), 0 deletions(-) diff --git
2011 Jul 07
5
[PATCH v1 0/2] Btrfs-progs: commands "resolve inode" and "resolve logical"
...ut stop after finding all inodes at this logical address and print them instead -- These patches are based on Hugo''s current integration branch. Please try them out and report bugs here. I''ll send an update to the manpages later. -Jan Jan Schmidt (2): btrfs-list: split list_subvols added ioctls and commands to resolve inodes and logical addresses btrfs-list.c | 139 ++++++++++++++++++++++++++++++++++------------ btrfs.c | 10 +++ btrfs_cmds.c | 177 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ btrfs_cmds.h | 3 + ioctl.h | 29 ++++++++++...
2012 Aug 01
17
[PATCH] add crtime to the snapshot list
From: Anand <anand.jain@oracle.com> This patch adds creation-time to the snapshot list display, which would help user to better manage the snapshots when number of snapshots grow substantially. This patch is developed and on top of the send/receive btrfs and btrfs-progs repo at git://github.com/ablock84/linux-btrfs.git (send-v2) git://github.com/ablock84/btrfs-progs.git (send-v2)
2012 Sep 06
0
[PATCH V3 0/7 ] Btrfs-progs: enhance btrfs subvol list only to show read-only snapshots
We want ''btrfs subvolume list'' only to list readonly subvolumes, this patch set introduces a new option ''r'' to implement it. You can use the command like that: btrfs subvolume list -r <mnt> Changelog v2 -> v3: - re-implement list_subvols() - re-implement this read-only subvolume list function based on the new list_subvols() Changelog v1 -> v2: - address the comments from Goffredo Baroncelli i, change the changelog of the patches and make them more elaborate. ii, move the function declarations to a new head file. iii,...
2012 Feb 29
15
[RFC] [PATCH] Add btrfs autosnap feature
From: anand jain <anand.jain@oracle.com> Anand Jain (1): [RFC] Add btrfs autosnap feature Makefile | 6 +- autosnap.c | 1553 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ autosnap.h | 81 +++ btrfs-list.c | 140 +++++- btrfs.c | 46 ++- btrfs_cmds.c | 186 +++++++- btrfs_cmds.h | 3 +- scrub.c | 1 + 8 files changed, 1982 insertions(+), 34
2010 Dec 11
1
[RFC] Improve btrfs subvolume find-new command
..._info *ri) * Then we use the tree search ioctl to scan all the root items for a * given root id and spit out the latest generation we can find */ -static u64 find_root_gen(int fd) +u64 find_root_gen(int fd) { struct btrfs_ioctl_ino_lookup_args ino_args; int ret; @@ -657,11 +657,43 @@ int list_subvols(int fd) return ret; } -static int print_one_extent(int fd, struct btrfs_ioctl_search_header *sh, +static u64 cache_get_full_path_dirid = 0; +static u64 cache_get_full_path_ino = 0; +static char *cache_get_full_path_dir_name = NULL; +static char *cache_get_full_path_full_name = NULL; + +static...