diff options
author | Christoph Hellwig <[email protected]> | 2022-09-15 10:41:58 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-09-20 08:24:38 -0600 |
commit | 4088a47e78f95a5fea683cf67e0be006b13831fd (patch) | |
tree | 08246485b7e6b1e1847ad759f7986625dca24f78 /tools/perf/scripts/python/sctop.py | |
parent | 527eb453bbfe65e5a55a90edfb1f30b477e36b8c (diff) |
btrfs: add manual PSI accounting for compressed reads
btrfs compressed reads try to always read the entire compressed chunk,
even if only a subset is requested. Currently this is covered by the
magic PSI accounting underneath submit_bio, but that is about to go
away. Instead add manual psi_memstall_{enter,leave} annotations.
Note that for readahead this really should be using readahead_expand,
but the additionals reads are also done for plain ->read_folio where
readahead_expand can't work, so this overall logic is left as-is for
now.
Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: David Sterba <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions