[Btrfs-devel] transaction ioctls

Sage Weil sage at newdream.net
Tue Apr 22 13:56:49 PDT 2008


On Tue, 22 Apr 2008, Chris Mason wrote:

> On Tuesday 22 April 2008, Sage Weil wrote:
> > On Tue, 22 Apr 2008, Chris Mason wrote:
> > > Ok, really though, I seem to remember that ceph needed to do file + xattr
> > > operations in one atomic shot, were there others?
> >
> > 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?

The whole thing.

sage



More information about the Btrfs-devel mailing list