mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-26 09:56:28 -05:00
Rework node obj pool to use objpool
This commit is contained in:
parent
4aac5af89f
commit
385a1476c3
4 changed files with 44 additions and 68 deletions
|
|
@ -1,10 +1,10 @@
|
|||
#pragma once
|
||||
|
||||
#include "lock.h"
|
||||
#include "lfmp.h"
|
||||
|
||||
typedef struct node_s node_t;
|
||||
struct node_s
|
||||
#include <cstdint>
|
||||
|
||||
struct node_t
|
||||
{
|
||||
node_t *name_next;
|
||||
node_t *id_next;
|
||||
|
|
@ -26,6 +26,5 @@ struct node_s
|
|||
|
||||
node_t *node_alloc();
|
||||
void node_free(node_t*);
|
||||
int node_gc1();
|
||||
void node_gc();
|
||||
lfmp_t *node_lfmp();
|
||||
void node_clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue