Renamed LFS3_T_COMPACT -> LFS3_T_COMPACTMETA (and gc_compactmeta_thresh)
- LFS3_T_COMPACT -> LFS3_T_COMPACTMETA - gc_compact_thresh -> gc_compactmeta_thresh And friends: LFS3_M_COMPACTMETA 0x00000800 Compact metadata logs LFS3_GC_COMPACTMETA 0x00000800 Compact metadata logs LFS3_I_COMPACTMETA 0x00000800 Filesystem may have uncompacted metadata LFS3_T_COMPACTMETA 0x00000800 Compact metadata logs --- This does two things: 1. Highlights that LFS3_T_COMPACTMETA only interacts with metadata logs, and has no effect on data blocks. 2. Better matches the verb+noun names used for other gc/traversal flags (REPOPGBMAP, CKMETA, etc). It is a bit more of a mouthful, but I'm not sure that's entirely a bad thing. These are pretty low-level flags.
This commit is contained in:
+4
-4
@@ -92,7 +92,7 @@ FLAGS = [
|
||||
('M_REPOPLOOKAHEAD',
|
||||
0x00000200, "Repopulate lookahead buffer" ),
|
||||
('M_REPOPGBMAP', 0x00000400, "Repopulate the gbmap" ),
|
||||
('M_COMPACT', 0x00000800, "Compact metadata logs" ),
|
||||
('M_COMPACTMETA', 0x00000800, "Compact metadata logs" ),
|
||||
('M_CKMETA', 0x00001000, "Check metadata checksums" ),
|
||||
('M_CKDATA', 0x00002000, "Check metadata + data checksums" ),
|
||||
|
||||
@@ -101,7 +101,7 @@ FLAGS = [
|
||||
('GC_REPOPLOOKAHEAD',
|
||||
0x00000200, "Repopulate lookahead buffer" ),
|
||||
('GC_REPOPGBMAP', 0x00000400, "Repopulate the gbmap" ),
|
||||
('GC_COMPACT', 0x00000800, "Compact metadata logs" ),
|
||||
('GC_COMPACTMETA', 0x00000800, "Compact metadata logs" ),
|
||||
('GC_CKMETA', 0x00001000, "Check metadata checksums" ),
|
||||
('GC_CKDATA', 0x00002000, "Check metadata + data checksums" ),
|
||||
|
||||
@@ -120,7 +120,7 @@ FLAGS = [
|
||||
('I_REPOPLOOKAHEAD',
|
||||
0x00000200, "Lookahead buffer is not full" ),
|
||||
('I_REPOPGBMAP', 0x00000400, "The gbmap is not full" ),
|
||||
('I_COMPACT', 0x00000800, "Filesystem may have uncompacted metadata" ),
|
||||
('I_COMPACTMETA', 0x00000800, "Filesystem may have uncompacted metadata" ),
|
||||
('I_CKMETA', 0x00001000, "Metadata checksums not checked recently" ),
|
||||
('I_CKDATA', 0x00002000, "Data checksums not checked recently" ),
|
||||
|
||||
@@ -140,7 +140,7 @@ FLAGS = [
|
||||
('T_REPOPLOOKAHEAD',
|
||||
0x00000200, "Repopulate lookahead buffer" ),
|
||||
('T_REPOPGBMAP', 0x00000400, "Repopulate the gbmap" ),
|
||||
('T_COMPACT', 0x00000800, "Compact metadata logs" ),
|
||||
('T_COMPACTMETA', 0x00000800, "Compact metadata logs" ),
|
||||
('T_CKMETA', 0x00001000, "Check metadata checksums" ),
|
||||
('T_CKDATA', 0x00002000, "Check metadata + data checksums" ),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user