From mboxrd@z Thu Jan 1 00:00:00 1970 From: Evgeniy Polyakov Subject: Re: [Btrfs-devel] transaction ioctls Date: Wed, 23 Apr 2008 01:05:15 +0400 Message-ID: <20080422210515.GA31827@2ka.mipt.ru> References: <200804221641.34817.chris.mason@oracle.com> <200804221655.38102.chris.mason@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sage Weil , btrfs-devel@oss.oracle.com, Zach Brown , linux-btrfs@vger.kernel.org To: Chris Mason Return-path: In-Reply-To: <200804221655.38102.chris.mason@oracle.com> List-ID: Hi. On Tue, Apr 22, 2008 at 04:55:37PM -0400, Chris Mason (chris.mason@oracle.com) 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. -- Evgeniy Polyakov