linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V4 0/7 ] Btrfs-progs: enhance btrfs subvol list only to show read-only snapshots
@ 2012-09-18 10:35 Miao Xie
  2012-09-18 10:50 ` [PATCH V4 1/7] Btrfs-progs: move the function declarations to a new head file Miao Xie
                   ` (10 more replies)
  0 siblings, 11 replies; 31+ messages in thread
From: Miao Xie @ 2012-09-18 10:35 UTC (permalink / raw)
  To: Linux Btrfs

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 v3 -> v4:
- modify the check method which is used to check if btrfs_root_item contains otime and uuid
  or not.
- add filter set and comparer set which are used to manage the filters and comparers specified
  by the users.
- re-base the read-only subvolume list function.

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, add the introduction of the new option 'r' into the man page

We can pull the patches from the URL

	git://github.com/miaoxie/btrfs-progs.git master

This patchset is against the patches of Liu Bo, Anand Jain and mine which were sent by several
days ago. And we also can pull those patches from the above URL.

Thanks
Miao
---
Miao Xie (5):
      Btrfs-progs: fix compile warning of implicit declaration of "list_snapshots"
      Btrfs-progs: fix wrong usage of btrfs subvolume list command
      Btrfs-progs: fix wrong way to check if the root item contains otime and uuid
      Btrfs-progs: restructure list_subvolumes
      Btrfs-progs: enhance btrfs subvol list only to show read-only snapshots

Zhou Bo (2):
      Btrfs-progs: move the function declarations to a new head file
      Btrfs-progs: update the manpage entries for the btrfs subvolume list

 btrfs-list.c     | 1023 ++++++++++++++++++++++++++++++++----------------------
 btrfs-list.h     |   88 +++++
 cmds-inspect.c   |    6 +-
 cmds-subvolume.c |   78 ++++-
 ctree.h          |   17 +
 man/btrfs.8.in   |    5 +-
 send-utils.c     |    7 +-
 7 files changed, 786 insertions(+), 438 deletions(-)

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2012-10-16  6:59 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-18 10:35 [PATCH V4 0/7 ] Btrfs-progs: enhance btrfs subvol list only to show read-only snapshots Miao Xie
2012-09-18 10:50 ` [PATCH V4 1/7] Btrfs-progs: move the function declarations to a new head file Miao Xie
2012-09-18 10:52 ` [PATCH V4 2/7] Btrfs-progs: fix compile warning of implicit declaration of "list_snapshots" Miao Xie
2012-09-18 10:55 ` [PATCH V4 3/7] Btrfs-progs: fix wrong usage of btrfs subvolume list command Miao Xie
2012-09-18 10:59 ` [PATCH V4 4/7] Btrfs-progs: fix wrong way to check if the root item contains otime and uuid Miao Xie
2012-09-19  1:55   ` Anand Jain
2012-09-19  2:58     ` Miao Xie
2012-09-18 11:06 ` [PATCH V4 5/7] Btrfs-progs: restructure list_subvolumes Miao Xie
2012-09-20 12:09   ` David Sterba
2012-10-09 16:05   ` Alex Lyakas
2012-10-10  2:12     ` Miao Xie
2012-10-10 19:45       ` Alex Lyakas
2012-10-15  4:06         ` Miao Xie
2012-09-18 11:09 ` [PATCH V4 6/7] Btrfs-progs: enhance btrfs subvol list only to show read-only snapshots Miao Xie
2012-09-18 15:11   ` Martin Steigerwald
2012-09-18 11:12 ` [PATCH V4 7/7] Btrfs-progs: update the manpage entries for the btrfs subvolume list Miao Xie
2012-09-28 12:55 ` [PATCH] Btrfs-progs: make btrfs_list_setup_filter to modify a set filter Anand jain
2012-10-03  0:03 ` [PATCH V4 0/7 ] Btrfs-progs: enhance btrfs subvol list only to show read-only snapshots Chris Mason
2012-10-09  6:01   ` Miao Xie
2012-10-09 15:57     ` David Sterba
2012-10-04 10:12 ` [PATCH] Btrfs-progs: add parent uuid for snapshots Anand jain
2012-10-04 12:00   ` Dong Robin
2012-10-05  2:27     ` Anand Jain
2012-10-05  2:25 ` [PATCH] Btrfs-progs: Corrections and additions to the btrfs man page Anand jain
2012-10-05  2:25   ` [PATCH] Btrfs-progs: Update btrfs man page for -P option Anand jain
2012-10-05  2:25   ` [PATCH V2] Btrfs-progs: add parent uuid for snapshots Anand jain
2012-10-09 15:44     ` David Sterba
2012-10-16  7:00       ` [PATCH V3] " Anand jain
2012-10-16  7:00         ` [PATCH] Btrfs-progs: make use of column_name Anand jain
2012-10-16  7:00         ` [PATCH] Btrfs-progs: update man page for -u and -q option in subvol list Anand jain
2012-10-16  7:03       ` [PATCH V2] Btrfs-progs: add parent uuid for snapshots Anand Jain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).