]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bcachefs: growable btree_paths
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 11 Dec 2023 00:26:30 +0000 (19:26 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 1 Jan 2024 16:47:44 +0000 (11:47 -0500)
commit0c99e17d3bd3b60ee7461cb8e87ff6badf228422
tree6c8f7f8b7ad1f6bee380eb90cd2e57f099078fe3
parentff70ad2c8dfdcc24f98b645481116d4c2ea20e37
bcachefs: growable btree_paths

XXX: we're allocating memory with btree locks held - bad

We need to plumb through an error path so we can do
allocate_dropping_locks() - but we're merging this now because it fixes
a transaction path overflow caused by indirect extent fragmentation, and
the resize path is rare.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_iter.c
fs/bcachefs/btree_iter.h
fs/bcachefs/btree_types.h
fs/bcachefs/extent_update.c