bcachefs: data move path should not be trying to move reflink_p keys
authorKent Overstreet <kent.overstreet@gmail.com>
Sat, 7 Sep 2019 20:13:20 +0000 (16:13 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:26 +0000 (17:08 -0400)
commit8d84260ec1b11c20a7f01797b34fcbc12b33fd70
tree6d49bf909d600e0f4ad8feaa52407c3c4083925c
parentb50dd7920d1cd7b37016929faa175578de12dd27
bcachefs: data move path should not be trying to move reflink_p keys

This was spotted when the move_extent() path tried to allocate a bio for
a reflink_p extent, but adding pages to the bio failed because we
overflowed bi_max_vecs. Oops.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/extents.h
fs/bcachefs/move.c