diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-06-29 18:37:13 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-06-29 18:37:13 -0400 |
| commit | b5cbb42dc59f519fa3cf49b9afbd5ee4805be01b (patch) | |
| tree | 722dd8bcb710f36bbdf73742973951a49798ad53 /fs/bcachefs/sb-errors_format.h | |
| parent | d39881d2da2a621df49118bfe5b594c7e8099aa6 (diff) | |
bcachefs: Repair fragmentation_lru in alloc_write_key()
fragmentation_lru derives from dirty_sectors, and wasn't being checked.
Co-developed-by: Daniel Hill <daniel@gluo.nz>
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 d6f35a99c429..d54121ec093f 100644 --- a/fs/bcachefs/sb-errors_format.h +++ b/fs/bcachefs/sb-errors_format.h @@ -286,7 +286,8 @@ enum bch_fsck_flags { x(accounting_mismatch, 272, 0) \ x(accounting_replicas_not_marked, 273, 0) \ x(invalid_btree_id, 274, 0) \ - x(alloc_key_io_time_bad, 275, 0) + x(alloc_key_io_time_bad, 275, 0) \ + x(alloc_key_fragmentation_lru_wrong, 276, FSCK_AUTOFIX) enum bch_sb_error_id { #define x(t, n, ...) BCH_FSCK_ERR_##t = n, |
