mirror of
https://github.com/versity/scoutfs.git
synced 2026-09-08 09:07:30 +00:00
scoutfs: increase max btree item size
Now that we have larger blocks we can have a larger max item. This was increased to make room for the srch compaction items which store a good number of srch files in their value. Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
+1
-1
@@ -213,7 +213,7 @@ struct scoutfs_avl_node {
|
||||
} __packed;
|
||||
|
||||
/* when we split we want to have multiple items on each side */
|
||||
#define SCOUTFS_BTREE_MAX_VAL_LEN 512
|
||||
#define SCOUTFS_BTREE_MAX_VAL_LEN 896
|
||||
|
||||
/* each value ends with an offset which lets compaction iterate over values */
|
||||
#define SCOUTFS_BTREE_VAL_OWNER_BYTES sizeof(__le16)
|
||||
|
||||
Reference in New Issue
Block a user