]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
bcachefs: struct alloc_request
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 22 Mar 2025 00:42:42 +0000 (20:42 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 22 May 2025 00:13:27 +0000 (20:13 -0400)
commitad63f9f1e9a10792847bc46f0226323f238a171d
treebf7b22e867c81890552c0411c232558a4fe855f2
parentd02755b8c5f38e737037e0ff0820eb66ab63c4f5
bcachefs: struct alloc_request

Add a struct for common state for satisfying an on disk allocation,
instead of passing the same long list of items to every function.

This will help with stack usage, performance, and perhaps enable some
code cleanups.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/alloc_foreground.c
fs/bcachefs/alloc_foreground.h
fs/bcachefs/ec.c
fs/bcachefs/io_write.h
fs/bcachefs/io_write_types.h