linux/fs/bcachefs
Kent Overstreet b9a7d8ac5f bcachefs: Fix implementation of KEY_TYPE_error
When force-removing a device, we were silently dropping extents that we
no longer had pointers for - we should have been switching them to
KEY_TYPE_error, so that reads for data that was lost return errors.

This patch adds the logic for switching a key to KEY_TYPE_error to
bch2_bkey_drop_ptr(), and improves the logic somewhat.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2023-10-22 17:09:13 -04:00
..
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:08:57 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:11 -04:00
2023-10-22 17:09:11 -04:00
2023-10-22 17:09:07 -04:00
2023-10-22 17:09:11 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:11 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:50 -04:00
2023-10-22 17:09:11 -04:00
2023-10-22 17:09:01 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:09:11 -04:00
2023-10-22 17:09:11 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:09:07 -04:00
2023-10-22 17:08:07 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:08:59 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:11 -04:00
2023-10-22 17:09:07 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:10 -04:00
2023-10-22 17:08:42 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:08:13 -04:00
2023-10-22 17:09:11 -04:00
2023-10-22 17:08:14 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:09:03 -04:00
2023-10-22 17:09:11 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:12 -04:00