From: Anand jain <Anand.Jain@oracle.com>
To: linux-btrfs@vger.kernel.org
Cc: Anand Jain <anand.jain@oracle.com>
Subject: [PATCH 0/9 V2] Include otime in the snapshot list
Date: Fri, 3 Aug 2012 17:48:48 +0800 [thread overview]
Message-ID: <1343987338-10612-1-git-send-email-Anand.Jain@oracle.com> (raw)
In-Reply-To: <1343822481-26707-1-git-send-email-Anand.Jain@oracle.com>
From: Anand Jain <anand.jain@oracle.com>
Thanks to Alexander Block and Liu Bo for the review.
Changes from V1 -> V2:
. renamed crtime to otime
. included the dependent btrfs-progs and btrfs kernel
patches as below and in email following this respectively
. fix bug in the btrfs su list
btrfs kernel dependency:
otime is added by the kernel patch:
[RFC PATCH 4/7] Btrfs: introduce subvol uuids and times
this btrfs-progs patch has been unit-tested to work fine
for both the cases that is snapshots created with and
without the otime/above-kerne-patch, this patch will
print the otime and/or "-" in the respective scenarios.
Eg:
# btrfs su list -s 1 /btrfs2
ID 259 gen 8 cgen 8 top level 5 otime - path sv-old-gen1/.snapshot/ss1-old-gen1
ID 261 gen 13 cgen 13 top level 5 otime - path sv-old-gen1/.snapshot/ss2
ID 262 gen 18 cgen 18 top level 5 otime 2012-08-03 16:08:59 path sv-old-gen1/.snapshot/ss3-on-new
Alexander Block (1):
Update ctree.h and ioctl.h for the new uuid+times for subvolumes.
Anand Jain (2):
Btrfs-progs: add otime to the snapshot list
Btrfs-progs: fix the btrfs subvol list path last char
Ilya Dryomov (3):
Btrfs-progs: refactor resolve_root() function a bit
Btrfs-progs: nuke redundant zeroing in __list_subvol_search()
Btrfs-progs: bring 'subvol get-default' back in
Liu Bo (3):
Btrfs-progs: search subvolumes with proper objectid
Btrfs-progs: show generation in command btrfs subvol list
Btrfs-progs: list snapshots by generation
btrfs-list.c | 378 +++++++++++++++++++++++++++++++++++++++++++++++++-----
cmds-subvolume.c | 19 ++-
ctree.h | 42 ++++++-
ioctl.h | 12 ++
print-tree.c | 79 +++++++++---
5 files changed, 476 insertions(+), 54 deletions(-)
next prev parent reply other threads:[~2012-08-03 9:51 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-01 12:01 [PATCH] add crtime to the snapshot list Anand jain
2012-08-01 12:01 ` [PATCH] Btrfs-progs: show crtime in " Anand jain
2012-08-01 12:14 ` [PATCH] add crtime to " Alexander Block
2012-08-01 15:56 ` anand jain
2012-08-01 12:43 ` Liu Bo
2012-08-03 9:48 ` Anand jain [this message]
2012-08-03 9:48 ` [PATCH] Btrfs: introduce subvol uuids and times Anand jain
2012-08-03 9:48 ` [PATCH 1/9] Update ctree.h and ioctl.h for the new uuid+times for subvolumes Anand jain
2012-08-03 9:48 ` [PATCH 2/9] Btrfs-progs: search subvolumes with proper objectid Anand jain
2012-08-03 9:48 ` [PATCH 3/9] Btrfs-progs: refactor resolve_root() function a bit Anand jain
2012-08-03 9:48 ` [PATCH 4/9] Btrfs-progs: nuke redundant zeroing in __list_subvol_search() Anand jain
2012-08-03 9:48 ` [PATCH 5/9] Btrfs-progs: bring 'subvol get-default' back in Anand jain
2012-08-03 9:48 ` [PATCH 6/9] Btrfs-progs: show generation in command btrfs subvol list Anand jain
2012-08-03 9:48 ` [PATCH 7/9] Btrfs-progs: list snapshots by generation Anand jain
2012-08-03 9:48 ` [PATCH 8/9] Btrfs-progs: add otime to the snapshot list Anand jain
2012-08-03 9:48 ` [PATCH 9/9] Btrfs-progs: fix the btrfs subvol list path last char Anand jain
2012-08-14 6:04 ` [PATCH] get uuid of subvol and snapshot Anand jain
2012-08-14 6:04 ` [PATCH] add -u to show subvol uuid Anand jain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1343987338-10612-1-git-send-email-Anand.Jain@oracle.com \
--to=anand.jain@oracle.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).