]> www.infradead.org Git - nvme.git/commit
bcachefs: add missing selection of XARRAY_MULTI
authorEric Biggers <ebiggers@google.com>
Wed, 2 Apr 2025 03:26:48 +0000 (20:26 -0700)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 2 Apr 2025 14:24:34 +0000 (10:24 -0400)
commita07c43e6c2ff4cbdba7abf8d533b2faf19fa2287
tree7e00db1a40c1c78b93ccc04c242bd0275c11c510
parent955ba7b5ea0395e9e3377f0ffc14f5dc4a099284
bcachefs: add missing selection of XARRAY_MULTI

When CONFIG_XARRAY_MULTI is not set, reading from a bcachefs file hits
the 'BUG_ON(order > 0);' in xas_set_order(), because it tries to insert
a large folio in the page cache.  Fix this by making bcachefs select
XARRAY_MULTI.

Fixes: be212d86b19c ("bcachefs: bs > ps support")
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/Kconfig