Dropped lfs->cfg->inline_size
Now that we no longer have bmoss files, inline_size and shrub_size are
effectively the same thing.
We weren't using this, so no code change, but it does save a word of
ctx:
code stack ctx
before: 36280 2576 640
after: 36280 (+0.0%) 2576 (+0.0%) 636 (-0.6%)
This commit is contained in:
@@ -422,17 +422,17 @@ struct lfs_config {
|
||||
// // can help bound the metadata compaction time. Must be <= block_size.
|
||||
// // Defaults to block_size when zero.
|
||||
// lfs_size_t metadata_max;
|
||||
//
|
||||
// // Maximum size of inlined files in bytes. Inlined files decrease storage
|
||||
// // requirements, but may impact metadata-related performance. Must be <=
|
||||
// // block_size/4.
|
||||
// //
|
||||
// // 0 disables inline files.
|
||||
// lfs_size_t inline_size;
|
||||
|
||||
// TODO these are pretty low-level details, should we have reasonable
|
||||
// defaults? need to benchmark.
|
||||
|
||||
// Maximum size on inlined files in bytes. Inlined files decrease storage
|
||||
// requirements, but may impact metadata-related performance. Must be <=
|
||||
// block_size/4.
|
||||
//
|
||||
// 0 disables inline files.
|
||||
lfs_size_t inline_size;
|
||||
|
||||
// Maximum size of inlined trees (shrubs) in bytes. Shrubs reduce B-tree
|
||||
// root overhead, but may impact metadata-related performance. Must be <=
|
||||
// blocksize/4.
|
||||
|
||||
Reference in New Issue
Block a user