From 94803e907abd52f6fdc272098fcfcbc6c44d7a39 Mon Sep 17 00:00:00 2001 From: Xuehan Xu Date: Thu, 29 Feb 2024 21:20:56 +0800 Subject: [PATCH] crimson/os/seastore/omap_manager: expand omap tree nodes Teuthology tests can issue large omap kvs Signed-off-by: Xuehan Xu --- src/crimson/os/seastore/omap_manager.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/crimson/os/seastore/omap_manager.h b/src/crimson/os/seastore/omap_manager.h index fc4e03e2b9d25..f558f5edc3e66 100644 --- a/src/crimson/os/seastore/omap_manager.h +++ b/src/crimson/os/seastore/omap_manager.h @@ -14,8 +14,10 @@ #include "crimson/os/seastore/seastore_types.h" #include "crimson/os/seastore/transaction_manager.h" -#define OMAP_INNER_BLOCK_SIZE 4096 -#define OMAP_LEAF_BLOCK_SIZE 8192 +//TODO: calculate the max key and value sizes the current layout supports, +// and return errors during insert if the max is exceeded. +#define OMAP_INNER_BLOCK_SIZE 8192 +#define OMAP_LEAF_BLOCK_SIZE 65536 namespace crimson::os::seastore { -- 2.39.5