diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-10-09 10:32:17 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:42 +0300 |
commit | 1be887979bc12a6c88b33b0d53dfdc369bfa9d49 (patch) | |
tree | 204a1391ae5ad3342f8026a69da401134261c88f /fs/bcachefs/debug.c | |
parent | 160dff6dad43d9428b1250f927721a9a8756cfd9 (diff) | |
download | linux-1be887979bc12a6c88b33b0d53dfdc369bfa9d49.tar.xz |
bcachefs: Handle dropping pointers in data_update path
Cached pointers are generally dropped, not moved: this led to an
assertion firing in the data update path when there were no new replicas
being written.
This path adds a data_options field for pointers to be dropped, and
tweaks move_extent() to check if we're only dropping pointers, not
writing new ones, before kicking off a data update operation.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/debug.c')
0 files changed, 0 insertions, 0 deletions