Skip to content

Commit 1dcbaf7

Browse files
authored
Merge pull request ceph#55840 from xxhdx1985126/wip-seastore-large-omap-nodes
crimson/os/seastore/omap_manager: expand omap tree nodes Reviewed-by: Yingxin Cheng <[email protected]> Reviewed-by: Chunmei Liu <[email protected]>
2 parents f05ca74 + 94803e9 commit 1dcbaf7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/crimson/os/seastore/omap_manager.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@
1414
#include "crimson/os/seastore/seastore_types.h"
1515
#include "crimson/os/seastore/transaction_manager.h"
1616

17-
#define OMAP_INNER_BLOCK_SIZE 4096
18-
#define OMAP_LEAF_BLOCK_SIZE 8192
17+
//TODO: calculate the max key and value sizes the current layout supports,
18+
// and return errors during insert if the max is exceeded.
19+
#define OMAP_INNER_BLOCK_SIZE 8192
20+
#define OMAP_LEAF_BLOCK_SIZE 65536
1921

2022
namespace crimson::os::seastore {
2123

0 commit comments

Comments
 (0)