Hide Forgot
Since the iobuf size is 128Kb, reading in chunks larger than that causes memory corruption in posix_readv.
PATCH: http://patches.gluster.com/patch/2468 in master (libglusterfsclient/readv: break reads bigger than the iobuffer size into smaller ones.)
PATCH: http://patches.gluster.com/patch/2469 in master (libglusterfsclient/read: break reads bigger than the iobuffer size into smaller ones.)
PATCH: http://patches.gluster.com/patch/2463 in release-2.0 (libglusterfsclient/readv: break reads bigger than the iobuffer size into smaller ones.)
PATCH: http://patches.gluster.com/patch/2464 in release-2.0 (libglusterfsclient/read: break reads bigger than the iobuffer size into smaller ones.)
PATCH: http://patches.gluster.com/patch/2579 in master (libglusterfsclient: fix libgf_client_read to handle short reads)