Re: [PATCH v4 0/4] btrfs: handle -ENOMEM errors in some synchronous dirops without aborting
From: David Sterba
Date: Mon Sep 07 2026 - 06:53:36 EST
On Tue, Aug 25, 2026 at 12:04:16PM -0400, Jeff Layton wrote:
> This version is almost exactly the same as v3, but I've dropped the two
> patches that change btrfs_insert_orphan_item() and
> btrfs_del_orphan_item() to use stack allocations. We have no known
> occurrences of those allocations failing, and I'm comfortable not
> solving that problem until we know that it is one.
Thanks.
> Jeff Layton (4):
> btrfs: split btrfs_insert_delayed_dir_index() into prealloc and commit phases
> btrfs: pre-allocate delayed dir index before btree modification
> btrfs: handle ENOMEM from btrfs_insert_dir_item() without aborting
> btrfs: pre-allocate delayed dir index for non-overwrite rename
Added to for-next.