diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-12-01 21:44:38 -0500 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-01-09 23:38:41 -0500 |
| commit | df448ca355ce84d62993166294f75517e4128598 (patch) | |
| tree | a69615a19c0a3ab28ee2ed9b7f6dfc2755642099 /fs/bcachefs/sb-errors_format.h | |
| parent | bcachefs: bcachefs_metadata_version_inode_depth (diff) | |
| download | linux-df448ca355ce84d62993166294f75517e4128598.tar.gz linux-df448ca355ce84d62993166294f75517e4128598.zip | |
bcachefs: bcachefs_metadata_version_persistent_inode_cursors
Persistent cursors for inode allocation.
A free inodes btree would add substantial overhead to inode allocation
and freeing - a "next num to allocate" cursor is always going to be
faster.
We just need it to be persistent, to avoid scanning the inodes btree
from the start on startup.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/sb-errors_format.h')
| -rw-r--r-- | fs/bcachefs/sb-errors_format.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/sb-errors_format.h b/fs/bcachefs/sb-errors_format.h index 806486635075..e26317c367f7 100644 --- a/fs/bcachefs/sb-errors_format.h +++ b/fs/bcachefs/sb-errors_format.h @@ -211,6 +211,7 @@ enum bch_fsck_flags { x(bkey_in_missing_snapshot, 190, 0) \ x(inode_pos_inode_nonzero, 191, 0) \ x(inode_pos_blockdev_range, 192, 0) \ + x(inode_alloc_cursor_inode_bad, 301, 0) \ x(inode_unpack_error, 193, 0) \ x(inode_str_hash_invalid, 194, 0) \ x(inode_v3_fields_start_bad, 195, 0) \ @@ -311,7 +312,7 @@ enum bch_fsck_flags { x(logged_op_but_clean, 283, FSCK_AUTOFIX) \ x(compression_opt_not_marked_in_sb, 295, FSCK_AUTOFIX) \ x(compression_type_not_marked_in_sb, 296, FSCK_AUTOFIX) \ - x(MAX, 301, 0) + x(MAX, 302, 0) enum bch_sb_error_id { #define x(t, n, ...) BCH_FSCK_ERR_##t = n, |
