Re: [Btrfs-devel] transaction ioctls

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

 



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.

-- 
	Evgeniy Polyakov
--
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