Displaying 1 result from an estimated 1 matches for "42byte".
Did you mean:
32byte
2018 Jan 12
1
Reading over than the file size on dispersed volume
...d out some files MD5 mismatch after uploading to glusterfs.
e.g
fallocate -l 130352 test1
fallocate -l 2281569280 test2
fallocate -l 667417616 test3
I have to calculate to make MD5 after uploading.
But the total size is different when reading the files to EOF. and MD5 is
different, too.
( I write 42byte header in each files when create the file )
char buf[128*1024] = {0,};
offset += 42;
while ((retr = glfs_pread(fd, (void*)&buf, sizeof(buf), offset, 0)) >
0) {
DEBUG("retr : %ld, offset : %ld(%d)", retr,offset,errno) ;
offset += retr;
MD5_Up...