Skip to content

Commit 4c13829

Browse files
committed
DAOS-15084 include: reorder new add DBTREE_CLASS to avoid merge conflict
Also increase timeout threshold to avoid CR tests timeout under hardware with relative slow MD-on-SSD. Signed-off-by: Fan Yong <fan.yong@intel.com>
1 parent ea87325 commit 4c13829

3 files changed

Lines changed: 24 additions & 18 deletions

File tree

src/include/daos/btree.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* (C) Copyright 2016-2023 Intel Corporation.
2+
* (C) Copyright 2016-2024 Intel Corporation.
33
*
44
* SPDX-License-Identifier: BSD-2-Clause-Patent
55
*/
@@ -653,8 +653,8 @@ enum {
653653
DBTREE_VOS_BEGIN = 10,
654654
DBTREE_VOS_END = DBTREE_VOS_BEGIN + 9,
655655
DBTREE_DSM_BEGIN = 20,
656-
DBTREE_DSM_END = DBTREE_DSM_BEGIN + 9,
657-
DBTREE_SMD_BEGIN = 30,
656+
DBTREE_DSM_END = DBTREE_DSM_BEGIN + 19,
657+
DBTREE_SMD_BEGIN = 40,
658658
DBTREE_SMD_END = DBTREE_SMD_BEGIN + 9,
659659
};
660660

src/include/daos/btree_class.h

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* (C) Copyright 2016-2022 Intel Corporation.
2+
* (C) Copyright 2016-2024 Intel Corporation.
33
*
44
* SPDX-License-Identifier: BSD-2-Clause-Patent
55
*/
@@ -93,38 +93,44 @@ extern btr_ops_t dbtree_recx_ops;
9393
*/
9494
#define DBTREE_CLASS_DTX_CF (DBTREE_DSM_BEGIN + 6)
9595

96-
/**
97-
* The key is dtx_cos_key: oid + dkey_hash
98-
*/
99-
#define DBTREE_CLASS_DTX_COS (DBTREE_DSM_BEGIN + 7)
100-
101-
/** Integer-fixed-value pairs
96+
/*
97+
* NOTE: unorder new added DBTREE_CLASS for CHK module to avoid merge conflict.
98+
* That will be adjusted after landing CR patch to master.
10299
*
103-
* Each key is uint64_t integer, values have fixed size for
104-
* a given key. Keys ordered numerically.
100+
* 'DBTREE_DSM_BEGIN + 9' is reserved for collective operation logic.
105101
*/
106-
#define DBTREE_CLASS_IFV (DBTREE_DSM_BEGIN + 8)
107102

108103
/**
109104
* DAOS check pool tree, the key is pool uuid
110105
*/
111-
#define DBTREE_CLASS_CHK_POOL (DBTREE_DSM_BEGIN + 9)
106+
#define DBTREE_CLASS_CHK_POOL (DBTREE_DSM_BEGIN + 10)
112107

113108
/**
114109
* DAOS check rank tree, the key is rank ID
115110
*/
116-
#define DBTREE_CLASS_CHK_RANK (DBTREE_DSM_BEGIN + 10)
111+
#define DBTREE_CLASS_CHK_RANK (DBTREE_DSM_BEGIN + 11)
117112

118113
/**
119114
* DAOS check pending action tree, the key is 64-bit sequence
120115
*/
121-
#define DBTREE_CLASS_CHK_PA (DBTREE_DSM_BEGIN + 11)
116+
#define DBTREE_CLASS_CHK_PA (DBTREE_DSM_BEGIN + 12)
122117

123118
/**
124119
* DAOS check container tree, the key is container uuid
125120
*/
126-
#define DBTREE_CLASS_CHK_CONT (DBTREE_DSM_BEGIN + 12)
121+
#define DBTREE_CLASS_CHK_CONT (DBTREE_DSM_BEGIN + 13)
122+
123+
/**
124+
* The key is dtx_cos_key: oid + dkey_hash
125+
*/
126+
#define DBTREE_CLASS_DTX_COS (DBTREE_DSM_BEGIN + 7)
127127

128+
/** Integer-fixed-value pairs
129+
*
130+
* Each key is uint64_t integer, values have fixed size for
131+
* a given key. Keys ordered numerically.
132+
*/
133+
#define DBTREE_CLASS_IFV (DBTREE_DSM_BEGIN + 8)
128134
extern btr_ops_t dbtree_ifv_ops;
129135

130136
#endif /* __DAOS_SRV_BTREE_CLASS_H__ */

src/tests/ftest/daos_test/suite.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ timeout: 600
99
timeouts:
1010
test_daos_degraded_mode: 450
1111
test_daos_management: 110
12-
test_daos_cat_recovery: 3600
12+
test_daos_cat_recovery: 5400
1313
test_daos_pool: 180
1414
test_daos_container: 510
1515
test_daos_epoch: 125

0 commit comments

Comments
 (0)