feat(lsm): separate handle design into read and write; atomic attribute
All checks were successful
ci/woodpecker/push/build Pipeline was successful

updates
This commit is contained in:
Jef Roosens 2024-08-29 12:40:51 +02:00 committed by Chewing_Bever
parent 7c938d592e
commit 4b469623dd
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
15 changed files with 624 additions and 453 deletions

View file

@ -13,7 +13,11 @@ typedef struct lander_gctx {
} lander_gctx;
typedef struct lander_ctx {
lsm_entry_handle *entry;
union {
lsm_write_handle *write;
lsm_read_handle *read;
} entry;
bool write;
} lander_ctx;
typedef enum lander_attr_type : uint8_t {