refact
This commit is contained in:
parent
c8ee7ba9a7
commit
495ea995ea
|
@ -25,7 +25,8 @@ extern "C" {
|
|||
typedef struct {
|
||||
int nexta;
|
||||
int enda;
|
||||
SMemAllocator *allocators[3];
|
||||
SMemAllocator *free[3];
|
||||
SMemAllocator *used[3];
|
||||
} SVAllocatorPool;
|
||||
|
||||
int vnodeOpenAllocatorPool(SVnode *pVnode);
|
||||
|
|
|
@ -23,6 +23,7 @@ int vnodeProcessWriteReqs(SVnode *pVnode, SReqBatch *pReqBatch) {
|
|||
int vnodeApplyWriteRequest(SVnode *pVnode, const SRequest *pRequest) {
|
||||
int reqType; /* TODO */
|
||||
size_t reqSize; /* TODO */
|
||||
uint64_t reqVersion = 0; /* TODO */
|
||||
int code = 0;
|
||||
|
||||
// Copy the request to vnode buffer
|
||||
|
|
Loading…
Reference in New Issue