diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-09-02 00:35:52 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-09-21 17:39:49 +0200 |
commit | ad8d1f77fc425f42d1b297486eea36864ae82c41 (patch) | |
tree | a02b2210b52c38c090347e630f8e8b4038c39868 /fs/bcachefs/errcode.h | |
parent | bcachefs: bch2_trigger_ptr() calculates sectors even when no device (diff) | |
download | linux-ad8d1f77fc425f42d1b297486eea36864ae82c41.tar.xz linux-ad8d1f77fc425f42d1b297486eea36864ae82c41.zip |
bcachefs: bch2_dev_remove_stripes()
We can now correctly force-remove a device that has stripes on it; this
uses the new BCH_SB_MEMBER_INVALID sentinal value.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/errcode.h')
-rw-r--r-- | fs/bcachefs/errcode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/errcode.h b/fs/bcachefs/errcode.h index 5241910c1cb0..60b7875adada 100644 --- a/fs/bcachefs/errcode.h +++ b/fs/bcachefs/errcode.h @@ -253,6 +253,7 @@ x(EIO, key_type_error) \ x(EIO, no_device_to_read_from) \ x(EIO, missing_indirect_extent) \ + x(EIO, invalidate_stripe_to_dev) \ x(BCH_ERR_btree_node_read_err, btree_node_read_err_fixable) \ x(BCH_ERR_btree_node_read_err, btree_node_read_err_want_retry) \ x(BCH_ERR_btree_node_read_err, btree_node_read_err_must_retry) \ |