From: Eric Biggers Date: Wed, 2 Apr 2025 03:26:48 +0000 (-0700) Subject: bcachefs: add missing selection of XARRAY_MULTI X-Git-Tag: v6.15-rc1~31^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a07c43e6c2ff4cbdba7abf8d533b2faf19fa2287;p=thirdparty%2Flinux.git 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 Signed-off-by: Kent Overstreet --- diff --git a/fs/bcachefs/Kconfig b/fs/bcachefs/Kconfig index c9798750202d3..bf1c94e51dd06 100644 --- a/fs/bcachefs/Kconfig +++ b/fs/bcachefs/Kconfig @@ -26,6 +26,7 @@ config BCACHEFS_FS select SRCU select SYMBOLIC_ERRNAME select MIN_HEAP + select XARRAY_MULTI help The bcachefs filesystem - a modern, copy on write filesystem, with support for multiple devices, compression, checksumming, etc.