Thread (18 messages) 18 messages, 3 authors, 2012-08-14

Re: [PATCH] add crtime to the snapshot list

From: Alexander Block <hidden>
Date: 2012-08-01 12:14:44

On Wed, Aug 1, 2012 at 2:01 PM, Anand jain [off-list ref] wrote:
From: Anand <redacted>

 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)
 respectively.
Cool, that would helpful.
 Further this patch has the dependency on the following patches
  Liu Bo:
   [PATCH 2/3 RESEND] Btrfs-progs: show generation in command btrfs subvol list
   [PATCH 3/3] Btrfs-progs: list snapshots by generation

 Eg output:
   #btrfs su list -s 1 /btrfs
   ID 258 gen 39 cgen 6 top level 5 crtime 2012-07-27 17:43:55 path ss1
   ID 260 gen 8 cgen 8 top level 5 crtime 2012-07-27 17:47:51 path ss2
   ID 263 gen 16 cgen 16 top level 5 crtime 2012-07-29 00:50:19 path ss3
   ID 264 gen 25 cgen 25 top level 5 crtime 2012-07-30 09:56:50 path sv1/.snap
Is it possible to rename crtime to otime? I used otime to refer
creation time all the time. Using crtime could be confusing, as ctime
is the change time and rtime is the receive time.
Anand Jain (1):
  Btrfs-progs: show crtime in the snapshot list

 btrfs-list.c |   45 ++++++++++++++++++++++++++++++++++++---------
 1 files changed, 36 insertions(+), 9 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help