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:13 -04:00
2023-10-22 17:09:08 -04:00
2023-10-22 17:09:01 -04:00
2023-10-22 17:08:43 -04:00
2023-10-22 17:08:54 -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
2023-10-22 17:08:50 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:09:06 -04:00
2023-10-22 17:08:57 -04:00
2023-10-22 17:08:55 -04:00
2023-10-22 17:09:07 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:11 -04:00
2023-10-22 17:08:59 -04:00
2023-10-22 17:09:12 -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:09:12 -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
2023-10-22 17:09:11 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:09:11 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:00 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:11 -04:00
2023-10-22 17:09:08 -04:00
2023-10-22 17:09:07 -04:00
2023-10-22 17:09:07 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:43 -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:08:43 -04:00
2023-10-22 17:08:43 -04:00
2023-10-22 17:08:55 -04:00
2023-10-22 17:09:11 -04:00
2023-10-22 17:09:02 -04:00
2023-10-22 17:09:07 -04:00
2023-10-22 17:09:07 -04:00
2023-10-22 17:09:11 -04:00
2023-10-22 17:09:10 -04:00
2023-10-22 17:08:29 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:08:14 -04:00
2023-10-22 17:08:16 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:07 -04:00
2023-10-22 17:09:13 -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:12 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:06 -04:00
2023-10-22 17:08:55 -04:00
2023-10-22 17:09:05 -04:00
2023-10-22 17:09:02 -04:00
2023-10-22 17:09:11 -04:00
2023-10-22 17:08:43 -04:00
2023-10-22 17:09:04 -04:00
2023-10-22 17:09:04 -04:00
2023-10-22 17:09:01 -04:00
2023-10-22 17:09:07 -04:00
2023-10-22 17:09:02 -04:00
2023-10-22 17:08:40 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:09:10 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:09:10 -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:10 -04:00
2023-10-22 17:09:10 -04:00
2023-10-22 17:08:43 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:09:02 -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:05 -04:00
2023-10-22 17:08:59 -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:08 -04:00
2023-10-22 17:08:55 -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:12 -04:00
2023-10-22 17:08:48 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:09:10 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:09:08 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:12 -04:00