From 8c114ddb87d609930957a97e2097b1614c123809 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Mon, 29 Jun 2020 10:40:23 -0700 Subject: [PATCH] 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 --- kmod/src/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmod/src/format.h b/kmod/src/format.h index ac05fecf..3d78dc8d 100644 --- a/kmod/src/format.h +++ b/kmod/src/format.h @@ -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)