Searched hist:c40a3d38aff4e1c832d1692850621be7d5e5308c (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | file-item.c | diff c40a3d38aff4e1c832d1692850621be7d5e5308c Thu Jan 21 04:25:54 CST 2016 Chandan Rajendra <chandan@linux.vnet.ibm.com> Btrfs: Compute and look up csums based on sectorsized blocks
Checksums are applicable to sectorsize units. The current code uses bio->bv_len units to compute and look up checksums. This works on machines where sectorsize == PAGE_SIZE. This patch makes the checksum computation and look up code to work with sectorsize units.
Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com> Signed-off-by: David Sterba <dsterba@suse.com>
|