]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore/omap_manager: expand omap tree nodes 57328/head
authorXuehan Xu <xxhdx1985126@gmail.com>
Thu, 29 Feb 2024 13:20:56 +0000 (21:20 +0800)
committerMatan Breizman <mbreizma@redhat.com>
Tue, 7 May 2024 11:42:42 +0000 (14:42 +0300)
Teuthology tests can issue large omap kvs

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
(cherry picked from commit 94803e907abd52f6fdc272098fcfcbc6c44d7a39)

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 {