summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/iobuf.h
diff options
context:
space:
mode:
authorAnand V. Avati <avati@gluster.com>2009-04-13 14:03:28 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-04-13 14:55:25 +0530
commitdc9cdbdc1c03c231ba405e540fac7d6483159bb2 (patch)
tree212b3d03d84748b49a3915d6b54340a4589b5966 /libglusterfs/src/iobuf.h
parentb9a210a419ff28f2d75b10a680520fd6cc37ac5a (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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/iobuf.h b/libglusterfs/src/iobuf.h
index 08831bbe9..2ad640bbc 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 */
};