Re: [Btrfs-devel] transaction ioctls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 22 April 2008, Evgeniy Polyakov wrote:
> Hi.
>
> On Tue, Apr 22, 2008 at 04:55:37PM -0400, Chris Mason 
(chris.mason@xxxxxxxxxx) wrote:
> > > The transactions generally look like
> > >
> > >  write(a)
> > >  setxattr(a)
> > >  write(b)
> > >  setxattr(b)
> >
> > Hmm, is this whole thing the atomic unit, or can a and b be done
> > separately?
>
> No, main idea is to bind very different operations together and make
> them look atomic from userspace point of view. But transactions are
> nothing without ability to correctly unroll them on demand.
> Transaction can include any operation with data and metadata.

Transaction rollback from a filesystem point of view is a reboot.  Real 
database style transactions with rollback and isolation from other procs etc 
etc are outside the scope of Btrfs.

-chris

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

[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux