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:
Zach Brown
2020-08-26 14:39:12 -07:00
committed by Zach Brown
parent ab271f4682
commit 8c114ddb87
+1 -1
View File
@@ -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)