Reduced impact of allocation failures during snapshot creation
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | btrfs: do an allocation earlier during snapshot creationfs/ | +9 | 0 replies | |
| 2/3 | btrfs: allocate root item at snapshot ioctl timefs/ fs/ fs/ | +13 | 0 replies | |
| 3/3 | btrfs: preallocate path for snapshot creation at ioctl timefs/ fs/ fs/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Reduced impact of allocation failures during snapshot creation
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(-)
Signature · 1 line
2.6.2