]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore/omap_manager: expand omap tree nodes 55840/head
authorXuehan Xu <xxhdx1985126@gmail.com>
Thu, 29 Feb 2024 13:20:56 +0000 (21:20 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Fri, 1 Mar 2024 07:00:54 +0000 (15:00 +0800)
Teuthology tests can issue large omap kvs

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
src/crimson/os/seastore/omap_manager.h

index fc4e03e2b9d2534d2206b386292aa58d6304ef27..f558f5edc3e66ded4b1c6ba936b3f8d3f7b1ec91 100644 (file)
 #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 {