Bug 812784 - [FEAT] need a way to allocate large sized iobuf
Summary: [FEAT] need a way to allocate large sized iobuf
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact: Raghavendra Bhat
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2012-04-16 08:35 UTC by Amar Tumballi
Modified: 2015-12-01 16:45 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:24:20 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions: glusterfs-3.3.0qa43
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.