add NtyCo as submodule & 搭建设计ebpf主从同步代码框架

This commit is contained in:
1iaan
2026-01-28 12:05:28 +00:00
parent 226f9a510f
commit fe257cafec
49 changed files with 249 additions and 8922 deletions

View File

@@ -1,6 +1,5 @@
#include "kvs_rw_tools.h"
#include "memory/alloc_dispatch.h"
#include "kvs_oplog.h"
#include <arpa/inet.h>
#include <unistd.h>
#include <string.h>
@@ -17,7 +16,7 @@ extern kvs_rbtree_t global_rbtree;
extern kvs_hash_t global_hash;
#endif
extern int global_cmd_log_fd;
extern int global_oplog_fd;
#include <errno.h>
int write_full(int fd, const void *buf, size_t len)