mirror of
https://github.com/versity/scoutfs.git
synced 2026-08-28 03:46:12 +00:00
scoutfs: increase max btree value length
Now that we're storing fs items in the btree we need a larger max value length. Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
+3
-2
@@ -160,9 +160,10 @@ struct scoutfs_key_be {
|
||||
__u8 _sk_fourth;
|
||||
}__packed;
|
||||
|
||||
/* chose reasonable max key and value lens that have room for some u64s */
|
||||
/* chose reasonable max key lens that have room for some u64s */
|
||||
#define SCOUTFS_BTREE_MAX_KEY_LEN 40
|
||||
#define SCOUTFS_BTREE_MAX_VAL_LEN 64
|
||||
/* when we split we want to have multiple items on each side */
|
||||
#define SCOUTFS_BTREE_MAX_VAL_LEN (SCOUTFS_BLOCK_SIZE / 8)
|
||||
|
||||
/*
|
||||
* The min number of free bytes we must leave in a parent as we descend
|
||||
|
||||
Reference in New Issue
Block a user