bcachefs: Only allocate buckets_nouse when requested
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 14 Feb 2022 06:42:31 +0000 (01:42 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:24 +0000 (17:09 -0400)
commit2232fa397c2be92ed80ee48d52de98a1a2916b06
tree91ad7707921c84789dd01f662e4976e0d677bff7
parentc929f2306e61500bf68a39cb2a16006bfe844d52
bcachefs: Only allocate buckets_nouse when requested

It's only needed by the migrate tool - this patch adds an option to
enable allocating it.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/buckets.c
fs/bcachefs/opts.h