Re: [PATCH] add crtime to the snapshot list

2012-08-01 Thread Liu Bo
On 08/01/2012 08:01 PM, Anand jain wrote:
 From: Anand anand.j...@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)
  respectively.
 

Hi Arand,

Can you please also post the patch itself here?

thanks,
liubo

  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
 
 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 majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
 

--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] add crtime to the snapshot list

2012-08-01 Thread anand jain



  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.


 Yeah.  Will rename it to otime

 just to mention the choices were..
 Birth-time (as in stat output), crtime and otime.

Thanks, Anand
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html