[Btrfs-devel] transaction ioctls

Chris Mason chris.mason at oracle.com
Tue Apr 22 13:55:37 PDT 2008


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?

-chris



More information about the Btrfs-devel mailing list