From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sage Weil Subject: Re: [Btrfs-devel] transaction ioctls Date: Tue, 22 Apr 2008 13:52:53 -0700 (PDT) Message-ID: References: <480E4AA5.1070700@oracle.com> <200804221641.34817.chris.mason@oracle.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: btrfs-devel@oss.oracle.com, Zach Brown , linux-btrfs@vger.kernel.org To: Chris Mason Return-path: In-Reply-To: <200804221641.34817.chris.mason@oracle.com> List-ID: 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) It _could_ be broken down into write intent, do X, log X, such that the atomicity isn't strictly necessary, but itd be so much nicer to just wrap things up into tidy transactions. sage