Bug 764204 (GLUSTER-2472) - Bring in variable sized iobuf
Summary: Bring in variable sized iobuf
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-2472
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: shishir gowda
QA Contact:
URL:
Whiteboard:
: GLUSTER-3080 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-28 12:09 UTC by Raghavendra G
Modified: 2015-12-01 16:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTNR
Mount Type: All
Documentation: DNR
CRM:
Verified Versions: 3.3.0qa9


Attachments (Terms of Use)

Description Raghavendra G 2011-02-28 12:09:02 UTC
Currently iobufs come in only one size that is 128KB. But nfs can receive bigger requests. It would also be good to have for transport/rdma

Comment 1 shishir gowda 2011-07-13 08:55:00 UTC
*** Bug 3080 has been marked as a duplicate of this bug. ***

Comment 2 Anand Avati 2011-08-01 03:15:17 UTC
CHANGE: http://review.gluster.com/12 (Rebasing Raghavendra's patch to master) merged in master by Anand Avati (avati)

Comment 3 Anand Avati 2011-08-01 03:15:34 UTC
CHANGE: http://review.gluster.com/13 (By using variable iobufs, xfer data size is no more limited to) merged in master by Anand Avati (avati)

Comment 4 Vijaykumar 2011-09-19 08:08:31 UTC
I ran following script on the mount point.

#############################################################################

!/bin/bash                                                                                                                                                  

name253="_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456\
789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_12"
name254="${name253}3"

#create dirs                                                                                                                                                 

for (( i=0 ; i<16; i++ ))
do
mkdir $name254
cd $name254
done
for (( i=1 ; i<100; i++ ))
do
touch $i
done
#############################################################################

Later did stat , cat and find . | xargs stat , many times on the mount point .
After that ran top command, 

in non-fixed version it says , 
"unable to decode the response". and log message says

[2011-09-19 16:20:59.582405] E [glusterfsd-mgmt.c:93:glusterfs_serialize_reply] 0-: Failed to encode message
[2011-09-19 16:20:59.582418] E [glusterfsd-mgmt.c:135:glusterfs_submit_reply] 0-: Failed to serialize reply
[2011-09-19 16:20:59.582462] W [rpcsvc.c:1066:rpcsvc_error_reply] (-->/usr/local/lib/libgfrpc.so.0(rpc_transport_notify+0x28) [0x7fe87085faf8] (-->/usr/local/lib/libgfrpc.so.0(rpcsvc_notify+0x93) [0x7fe87085f143] (-->/usr/local/lib/libgfrpc.so.0(rpcsvc_handle_rpc_call+0x104) [0x7fe87085ee94]))) 0-: sending a RPC error reply


But in fixed version , it will do fine without any error.

Comment 5 Vijay Bellur 2013-02-20 18:11:23 UTC
CHANGE: http://review.gluster.org/4526 (read-ahead: re-enable support for variable page size) merged in master by Anand Avati (avati)


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