This commit is contained in:
Hongze Cheng 2022-01-11 06:55:44 +00:00
parent 3513390fb8
commit 3d1c8dcb7d
1 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,12 @@ typedef int32_t pgid_t;
// framd_id_t
typedef int32_t frame_id_t;
// pgsize_t
typedef int32_t pgsize_t;
#define TKV_MIN_PGSIZE 512
#define TKV_MAX_PGSIZE 16384
#define TKV_IS_PGSIZE_VLD(s) (((s) >= TKV_MIN_PGSIZE) && (TKV_MAX_PGSIZE <= TKV_MAX_PGSIZE))
#ifdef __cplusplus
}
#endif