diff options
author | 2020-09-21 08:58:40 -0700 | |
---|---|---|
committer | 2020-09-21 08:59:26 -0700 | |
commit | 7d636676d2841ba5d92462dfa99a89c2f2da8919 (patch) | |
tree | 2576896da6201cf60b064b2c6f165c17093bc3a7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iomap: Support arbitrarily many blocks per page (diff) | |
download | wireguard-linux-7d636676d2841ba5d92462dfa99a89c2f2da8919.tar.xz wireguard-linux-7d636676d2841ba5d92462dfa99a89c2f2da8919.zip |
iomap: Convert read_count to read_bytes_pending
Instead of counting bio segments, count the number of bytes submitted.
This insulates us from the block layer's definition of what a 'same page'
is, which is not necessarily clear once THPs are involved.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions