Here's an improvement in allocation of temporary structures during snaphost creation, namely the root_item. The allocation is moved to the ioctl call, so it will fail early and not during the transaction commit. I've once hit it in practice.
It's aimed for 4.5 dev cycle and can be pulled from git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git dev/prealloc-subvol David Sterba (3): btrfs: do an allocation earlier during snapshot creation btrfs: allocate root item at snapshot ioctl time btrfs: preallocate path for snapshot creation at ioctl time fs/btrfs/ioctl.c | 31 ++++++++++++++++++++----------- fs/btrfs/transaction.c | 18 +++++++----------- fs/btrfs/transaction.h | 2 ++ 3 files changed, 29 insertions(+), 22 deletions(-) -- 2.6.2 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html