diff options
author | Anand Avati <avati@redhat.com> | 2014-02-06 12:32:01 -0800 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2014-02-13 11:18:39 -0800 |
commit | 7b4d6e3ec61e9cb0b9d0ffa0aef2117b96e63f65 (patch) | |
tree | b7eaa8ee989c03155b40d506bb295f376eb228d7 /Makefile.am | |
parent | 0cab34b3a5e94267bf6b39669b6e85af1fab8f3d (diff) |
storage/posix: calculate checksum only over read data
If the last block of a file is not aligned to the requested
size, checksum is calculated over junk data in the iobuf. Or
it could be zeroes, resulting in a spurious checksum match
in self-heal.
Change-Id: I41422e08de90013dabfc348ec6fbb8ecdd4f8fb8
BUG: 1021686
Signed-off-by: Anand Avati <avati@redhat.com>
Reviewed-on: http://review.gluster.org/6932
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions