diff options
author | 2016-01-21 15:55:54 +0530 | |
---|---|---|
committer | 2016-02-01 19:23:47 +0100 | |
commit | c40a3d38aff4e1c832d1692850621be7d5e5308c (patch) | |
tree | e6f172d5c570047271691f9bd7bbcfc321b413de /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Btrfs: __btrfs_buffered_write: Reserve/release extents aligned to block size (diff) | |
download | wireguard-linux-c40a3d38aff4e1c832d1692850621be7d5e5308c.tar.xz wireguard-linux-c40a3d38aff4e1c832d1692850621be7d5e5308c.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions