Re: user transactions and ENOSPC...

2009-10-07 Thread Sage Weil
Hi Val! On Wed, 7 Oct 2009, Valerie Aurora wrote: > On Fri, Sep 25, 2009 at 02:10:14PM -0700, Sage Weil wrote: > > Hi everyone, > > > > So, the btrfs user transaction ioctls work like so > > > > ioctl(fd, BTRFS_IOC_TRANS_START); > > /* do many operations: write(), setxattr(), rmdir(), whateve

Re: user transactions and ENOSPC...

2009-10-07 Thread Valerie Aurora
On Fri, Sep 25, 2009 at 02:10:14PM -0700, Sage Weil wrote: > Hi everyone, > > So, the btrfs user transaction ioctls work like so > > ioctl(fd, BTRFS_IOC_TRANS_START); > /* do many operations: write(), setxattr(), rmdir(), whatever. */ > ioctl(fd, BTRFS_IOC_TRANS_END);/* or close(fd); */ >

Re: user transactions and ENOSPC...

2009-09-28 Thread Sage Weil
On Sat, 26 Sep 2009, Daniel J Blueman wrote: > On Fri, Sep 25, 2009 at 10:10 PM, Sage Weil wrote: > > So, the btrfs user transaction ioctls work like so > > > >  ioctl(fd, BTRFS_IOC_TRANS_START); > >  /* do many operations: write(), setxattr(), rmdir(), whatever. */ > >  ioctl(fd, BTRFS_IOC_TRANS

Re: user transactions and ENOSPC...

2009-09-26 Thread Daniel J Blueman
On Fri, Sep 25, 2009 at 10:10 PM, Sage Weil wrote: > So, the btrfs user transaction ioctls work like so > >  ioctl(fd, BTRFS_IOC_TRANS_START); >  /* do many operations: write(), setxattr(), rmdir(), whatever. */ >  ioctl(fd, BTRFS_IOC_TRANS_END);    /* or close(fd); */ ... > The second problem is