search for: star_glusterfs

Displaying 1 result from an estimated 1 matches for "star_glusterfs".

2018 Jan 12
1
Reading over than the file size on dispersed volume
...read(fd, (void*)&buf, sizeof(buf), offset, 0)) > 0) { DEBUG("retr : %ld, offset : %ld(%d)", retr,offset,errno) ; offset += retr; MD5_Update(&context, buf, retr); } DEBUG("total : %d", offset); [DEBUG] retr : 130394, offset : 42(0) (star_glusterfs.c:96) [DEBUG] retr : 1024, offset : 130436(0) (star_glusterfs.c:96) [DEBUG] retr : 636, offset : 131460(0) (star_glusterfs.c:96) [DEBUG] total : 132096 (star_glusterfs.c:109) Why the glfs_pread(or glfs_read) function reads until over than the file size ? This is fine on dispersed (4+2) and (8+1)...