Red Hat Bugzilla – Bug 812784
[FEAT] need a way to allocate large sized iobuf
Last modified: 2015-12-01 11:45:32 EST
Description of problem:
Currently we have a static number of arenas for iobuf allocation. With the current method, the maximum size of buffer allocated through iobuf_get2() is 1MB. But in few cases with CLI (like volume status <VOLNAME> inode, volume profile etc,) we would need bigger buffer to be transferred on wire.
Version-Release number of selected component (if applicable):
CHANGE: http://review.gluster.com/3136 (iobuf: option to provide larger size of buffers) merged in master by Anand Avati (firstname.lastname@example.org)
Now larger sized iobufs can be allocated through stdalloc, if the buffer size requested is greater than the maximum available buffer size.