Bug 762066 (GLUSTER-334)

Summary: glusterfs_read/readv should break large-reads into 128Kb block sizes
Product: [Community] GlusterFS Reporter: Raghavendra G <raghavendra>
Component: libglusterfsclientAssignee: Raghavendra G <raghavendra>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: mainlineCC: gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Raghavendra G 2009-10-25 02:25:39 UTC
Since the iobuf size is 128Kb, reading in chunks larger than that causes memory corruption in posix_readv.

Comment 1 Anand Avati 2009-12-01 22:52:42 UTC
PATCH: http://patches.gluster.com/patch/2468 in master (libglusterfsclient/readv: break reads bigger than the iobuffer size into smaller ones.)

Comment 2 Anand Avati 2009-12-01 22:52:46 UTC
PATCH: http://patches.gluster.com/patch/2469 in master (libglusterfsclient/read: break reads bigger than the iobuffer size into smaller ones.)

Comment 3 Anand Avati 2009-12-02 00:15:45 UTC
PATCH: http://patches.gluster.com/patch/2463 in release-2.0 (libglusterfsclient/readv: break reads bigger than the iobuffer size into smaller ones.)

Comment 4 Anand Avati 2009-12-02 00:15:49 UTC
PATCH: http://patches.gluster.com/patch/2464 in release-2.0 (libglusterfsclient/read: break reads bigger than the iobuffer size into smaller ones.)

Comment 5 Anand Avati 2009-12-06 07:30:31 UTC
PATCH: http://patches.gluster.com/patch/2579 in master (libglusterfsclient: fix libgf_client_read to handle short reads)