From e85fc5b1a745480fd5e7e2a141dfddfbd98ad108 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Mon, 29 Jun 2020 10:41:34 -0700 Subject: [PATCH] scoutfs-utils: increase btree item value limit Signed-off-by: Zach Brown --- utils/src/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/src/format.h b/utils/src/format.h index ac05fecf..3d78dc8d 100644 --- a/utils/src/format.h +++ b/utils/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)