From: Xuehan Xu Date: Thu, 29 Feb 2024 13:20:56 +0000 (+0800) Subject: crimson/os/seastore/omap_manager: expand omap tree nodes X-Git-Tag: v20.0.0~2479^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=94803e907abd52f6fdc272098fcfcbc6c44d7a39;p=ceph.git crimson/os/seastore/omap_manager: expand omap tree nodes Teuthology tests can issue large omap kvs Signed-off-by: Xuehan Xu --- diff --git a/src/crimson/os/seastore/omap_manager.h b/src/crimson/os/seastore/omap_manager.h index fc4e03e2b9d2..f558f5edc3e6 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 {