Re: [RFC] big fat transaction ioctl

Chris Mason
2009-11-11T14:54:35Z

On Tue, Nov 10, 2009 at 12:12:14PM -0800, Sage Weil wrote:
> Hi all,
>
> This is an alternative approach to atomic user transactions for btrfs.
> The old start/end ioctls suffer from some basic limitations, namely
>
> - We can't properly reserve space ahead of time to avoid ENOSPC part
> way through the transaction, and
> - The process may die (seg fault, SIGKILL) part way through the
> transaction. Currently when that happens the partial transaction will
> commit.

I like this much more than providing a journal start/stop to userland.
If we can get Christoph to ack the exports we can work on the interface
in general.

-chris