diff options
Diffstat (limited to 'libglusterfs')
| -rw-r--r-- | libglusterfs/src/iobuf.h | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/libglusterfs/src/iobuf.h b/libglusterfs/src/iobuf.h index 9a256257ff5..03aa954bbdd 100644 --- a/libglusterfs/src/iobuf.h +++ b/libglusterfs/src/iobuf.h @@ -85,9 +85,9 @@ struct iobuf_arena {          struct list_head    all_list;          size_t              page_size;  /* size of all iobufs in this arena */ -        size_t              arena_size; /* this is equal to -                                           (iobuf_pool->arena_size / page_size) -                                           * page_size */ +        size_t              arena_size; +        /* this is equal to rounded_size * num_iobufs. +           (rounded_size comes with gf_iobuf_get_pagesize().) */          size_t              page_count;          struct iobuf_pool  *iobuf_pool;  | 
