Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Nov 2012 19:46:54 +0100
From:      Attila Nagy <bra@fsn.hu>
To:        freebsd-fs@freebsd.org
Subject:   Is it possible to use ZFS transactions from user space?
Message-ID:  <50B2679E.3030600@fsn.hu>

next in thread | raw e-mail | index | archive | help
Hi,

I'm wondering, will it be possible to use ZFS transactions from user space?
For example, I would like to do something similar:
     tx=zfs_tx_init();
     write(fd,buf,strlen(buf));
     unlink(file);
     zfs_tx_commit(tx);

The write and unlink should both happen or fail together (it's fine with 
me if it fails only at tx_commit).

I can see a lot of problems here, so I guess it's not an easy topic. Is 
it doable at all?
Anyone working on it?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50B2679E.3030600>