diff options
author | 2021-03-22 09:52:04 -0700 | |
---|---|---|
committer | 2021-03-25 16:47:51 -0700 | |
commit | c81ea11e033221a94182e1d0fee303def944303a (patch) | |
tree | ef417e128195d9a24b60e84ca7b574352ab0f9f4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | xfs: reduce buffer log item shadow allocations (diff) | |
download | linux-dev-c81ea11e033221a94182e1d0fee303def944303a.tar.xz linux-dev-c81ea11e033221a94182e1d0fee303def944303a.zip |
xfs: xfs_buf_item_size_segment() needs to pass segment offset
Otherwise it doesn't correctly calculate the number of vectors
in a logged buffer that has a contiguous map that gets split into
multiple regions because the range spans discontigous memory.
Probably never been hit in practice - we don't log contiguous ranges
on unmapped buffers (inode clusters).
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions