scoutfs-utils: increase btree item value limit

Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
Zach Brown
2020-06-29 10:41:34 -07:00
committed by Zach Brown
parent c0fdd37e5a
commit e85fc5b1a7

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)