Bug 762066 (GLUSTER-334) - glusterfs_read/readv should break large-reads into 128Kb block sizes
Summary: glusterfs_read/readv should break large-reads into 128Kb block sizes
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-334
Product: GlusterFS
Classification: Community
Component: libglusterfsclient
Version: mainline
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-25 02:25 UTC by Raghavendra G
Modified: 2009-12-06 10:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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)


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