Re: committing new snapshots

2009-12-08 Thread Sage Weil
On Tue, 8 Dec 2009, Josef Bacik wrote: > On Mon, Dec 07, 2009 at 02:25:50PM -0800, Sage Weil wrote: > > When you create a new snap or subvol, first a new ROOT_ITEM is created > > while everything commits, and then the referring directory entry is set up > > (with a correspond ROOT_BACKREF). >

Re: committing new snapshots

2009-12-08 Thread Andrey Kuzmin
On Tue, Dec 8, 2009 at 7:05 PM, Josef Bacik wrote: > On Mon, Dec 07, 2009 at 02:25:50PM -0800, Sage Weil wrote: >> When you create a new snap or subvol, first a new ROOT_ITEM is created >> while everything commits, and then the referring directory entry is set up >> (with a correspond ROOT_BACKREF

Re: committing new snapshots

2009-12-08 Thread Josef Bacik
On Mon, Dec 07, 2009 at 02:25:50PM -0800, Sage Weil wrote: > When you create a new snap or subvol, first a new ROOT_ITEM is created > while everything commits, and then the referring directory entry is set up > (with a correspond ROOT_BACKREF). > > First, if you say 'btrfsctl -s foo .' and the

committing new snapshots

2009-12-07 Thread Sage Weil
When you create a new snap or subvol, first a new ROOT_ITEM is created while everything commits, and then the referring directory entry is set up (with a correspond ROOT_BACKREF). First, if you say 'btrfsctl -s foo .' and then 'reboot -f -n' before the next regularly scheduled commit, the sna