Is it possible to use ZFS transactions from user space?

Attila Nagy bra at fsn.hu
Sun Nov 25 18:54:06 UTC 2012


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?


More information about the freebsd-fs mailing list