Skip to content

Commit a07c43e

Browse files
ebiggersKent Overstreet
authored and
Kent Overstreet
committed
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: be212d8 ("bcachefs: bs > ps support") Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: Kent Overstreet <[email protected]>
1 parent 955ba7b commit a07c43e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/bcachefs/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ config BCACHEFS_FS
2626
select SRCU
2727
select SYMBOLIC_ERRNAME
2828
select MIN_HEAP
29+
select XARRAY_MULTI
2930
help
3031
The bcachefs filesystem - a modern, copy on write filesystem, with
3132
support for multiple devices, compression, checksumming, etc.

0 commit comments

Comments
 (0)