diff options
author | Anand V. Avati <avati@gluster.com> | 2009-04-13 14:03:28 +0530 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-13 14:55:25 +0530 |
commit | dc9cdbdc1c03c231ba405e540fac7d6483159bb2 (patch) | |
tree | 212b3d03d84748b49a3915d6b54340a4589b5966 /libglusterfs/src/iobuf.h | |
parent | b9a210a419ff28f2d75b10a680520fd6cc37ac5a (diff) |
add purge list support to make iobuf_pool_purge() in expensive, and actually call it in iobuf_put :-)
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfs/src/iobuf.h')
-rw-r--r-- | libglusterfs/src/iobuf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/iobuf.h b/libglusterfs/src/iobuf.h index 08831bbe9bb..2ad640bbc5a 100644 --- a/libglusterfs/src/iobuf.h +++ b/libglusterfs/src/iobuf.h @@ -86,6 +86,7 @@ struct iobuf_pool { struct iobuf_arena arenas; /* head node arena (unused by itself) */ struct iobuf_arena filled; /* arenas without free iobufs */ + struct iobuf_arena purge; /* arenas to be purged right away */ }; |