diff options
author | Christoph Hellwig <hch@lst.de> | 2025-03-10 14:19:05 +0100 |
---|---|---|
committer | Carlos Maiolino <cem@kernel.org> | 2025-03-10 14:29:44 +0100 |
commit | f2a3717a74c2cf01e29ea3aba355e171eb0d5f5f (patch) | |
tree | 88fec990feaab22a9e83a05bac62f5071b27a9e0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 69659e46b7588d2fd5e4644dec9e61127bbfd5f3 (diff) |
xfs: add a fast path to xfs_buf_zero when b_addr is set
No need to walk the page list if bp->b_addr is valid. That also means
b_offset doesn't need to be taken into account in the unmapped loop as
b_offset is only set for kmem backed buffers which are always mapped.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions