Renamed LFS3_T_COMPACTMETA -> LFS3_T_COMPACT (and gc_compact_thresh)
This effectively reverts 1f824a0:
- LFS3_T_COMPACTMETA -> LFS3_T_COMPACT
- gc_compactmeta_thresh -> gc_compact_thresh
And friends.
After using LFS3_T_COMPACTMETA for a bit, I think it just adds noise
without much value. Especially when next to LFS3_T_LOOKAHEAD,
LFS3_GC_PREERASE, LFS3_M_SYNC, etc.
It's interesting that we already have some very distinct verbs for this
sort of thing based on data type (compact => metadata, garbage-collect
=> disk, compress => data).
This commit is contained in:
+6
-6
@@ -83,7 +83,7 @@ F_CKDATACKSUMS = 0x01000000 # y- Check data checksums on reads
|
||||
|
||||
F_MKCONSISTENT = 0x00000800 # y- Make the filesystem consistent
|
||||
F_LOOKAHEAD = 0x00001000 # y- Repopulate lookahead buffer
|
||||
F_COMPACTMETA = 0x00008000 # y- Compact metadata logs
|
||||
F_COMPACT = 0x00008000 # y- Compact metadata logs
|
||||
F_CKMETA = 0x00010000 # y- Check metadata checksums
|
||||
F_CKDATA = 0x00020000 # y- Check metadata + data checksums
|
||||
|
||||
@@ -102,21 +102,21 @@ M_CKDATACKSUMS = 0x01000000 # y- Check data checksums on reads
|
||||
|
||||
M_MKCONSISTENT = 0x00000800 # y- Make the filesystem consistent
|
||||
M_LOOKAHEAD = 0x00001000 # y- Repopulate lookahead buffer
|
||||
M_COMPACTMETA = 0x00008000 # y- Compact metadata logs
|
||||
M_COMPACT = 0x00008000 # y- Compact metadata logs
|
||||
M_CKMETA = 0x00010000 # y- Check metadata checksums
|
||||
M_CKDATA = 0x00020000 # y- Check metadata + data checksums
|
||||
|
||||
# File/filesystem check flags
|
||||
CK_MKCONSISTENT = 0x00000800 # -- Make the filesystem consistent
|
||||
CK_LOOKAHEAD = 0x00001000 # -- Repopulate lookahead buffer
|
||||
CK_COMPACTMETA = 0x00008000 # -- Compact metadata logs
|
||||
CK_COMPACT = 0x00008000 # -- Compact metadata logs
|
||||
CK_CKMETA = 0x00010000 # -- Check metadata checksums
|
||||
CK_CKDATA = 0x00020000 # -- Check metadata + data checksums
|
||||
|
||||
# GC flags
|
||||
GC_MKCONSISTENT = 0x00000800 # -- Make the filesystem consistent
|
||||
GC_LOOKAHEAD = 0x00001000 # -- Repopulate lookahead buffer
|
||||
GC_COMPACTMETA = 0x00008000 # -- Compact metadata logs
|
||||
GC_COMPACT = 0x00008000 # -- Compact metadata logs
|
||||
GC_CKMETA = 0x00010000 # -- Check metadata checksums
|
||||
GC_CKDATA = 0x00020000 # -- Check metadata + data checksums
|
||||
|
||||
@@ -135,7 +135,7 @@ I_CKDATACKSUMS = 0x01000000 # -- Mounted with LFS3_M_CKDATACKSUMS
|
||||
|
||||
I_MKCONSISTENT = 0x00000800 # -- Filesystem needs mkconsistent to write
|
||||
I_LOOKAHEAD = 0x00001000 # -- Lookahead buffer is not full
|
||||
I_COMPACTMETA = 0x00008000 # -- Filesystem may have uncompacted metadata
|
||||
I_COMPACT = 0x00008000 # -- Filesystem may have uncompacted metadata
|
||||
I_CKMETA = 0x00010000 # -- Metadata checksums not checked recently
|
||||
I_CKDATA = 0x00020000 # -- Data checksums not checked recently
|
||||
|
||||
@@ -147,7 +147,7 @@ T_MTREEONLY = 0x00000002 # -- Only traverse the mtree
|
||||
T_EXCL = 0x00000008 # -- Error if filesystem modified
|
||||
T_MKCONSISTENT = 0x00000800 # -- Make the filesystem consistent
|
||||
T_LOOKAHEAD = 0x00001000 # -- Repopulate lookahead buffer
|
||||
T_COMPACTMETA = 0x00008000 # -- Compact metadata logs
|
||||
T_COMPACT = 0x00008000 # -- Compact metadata logs
|
||||
T_CKMETA = 0x00010000 # -- Check metadata checksums
|
||||
T_CKDATA = 0x00020000 # -- Check metadata + data checksums
|
||||
|
||||
|
||||
Reference in New Issue
Block a user