bcachefs: Add BCH_BKEY_PTRS_MAX
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 16 Dec 2020 19:23:27 +0000 (14:23 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:50 +0000 (17:08 -0400)
commitffb7c3d370a104d14ad0658b359cdf04ae679f04
tree8bc29b326f11dd7ef8a6cbe5065f3b361b11aefa
parentded54580bdf18ba3a2b38e7910c54b1c53f007c6
bcachefs: Add BCH_BKEY_PTRS_MAX

This now means "the maximum number of pointers within a bkey" - and
bch_devs_list is updated to use it instead of BCH_REPLICAS_MAX, since
stripes can contain more than BCH_REPLICAS_MAX pointers.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bcachefs_format.h
fs/bcachefs/ec.c
fs/bcachefs/ec.h
fs/bcachefs/ec_types.h
fs/bcachefs/super_types.h