]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: bch2_kvmalloc()
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 20 Dec 2024 10:20:01 +0000 (05:20 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Fri, 10 Jan 2025 04:38:41 +0000 (23:38 -0500)
commit45414083913f68cb7586924767a3fb2cc7710352
tree14dd72e9c987132e8a250eac8e79ba124d659d47
parentfa3e5135e4e7bfb38598a58caf592c940eff4b03
bcachefs: bch2_kvmalloc()

Add a version of kvmalloc() that doesn't have the INT_MAX limit; large
filesystems do hit this.

We'll want to get rid of the in-memory bucket gens array, but we're not
there quite yet.

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