Bug 812784

Summary: [FEAT] need a way to allocate large sized iobuf
Product: [Community] GlusterFS Reporter: Amar Tumballi <amarts>
Component: coreAssignee: Amar Tumballi <amarts>
Status: CLOSED CURRENTRELEASE QA Contact: Raghavendra Bhat <rabhat>
Severity: high Docs Contact:
Priority: high    
Version: mainlineCC: gluster-bugs, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 17:24:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: glusterfs-3.3.0qa43 Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 817967    

Description Amar Tumballi 2012-04-16 08:35:20 UTC
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):
master HEAD

Comment 1 Anand Avati 2012-05-04 04:55:02 UTC
CHANGE: http://review.gluster.com/3136 (iobuf: option to provide larger size of buffers) merged in master by Anand Avati (avati)

Comment 2 Raghavendra Bhat 2012-05-24 10:36:36 UTC
Now larger sized iobufs can be allocated through stdalloc, if the buffer size requested is greater than the maximum available buffer size.