diff options
author | Christoph Hellwig <[email protected]> | 2021-03-31 09:30:00 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-04-06 09:28:17 -0600 |
commit | 9bb33f24abbd0fa2fadad01ec75438d7cc239189 (patch) | |
tree | 7c503535797f615db7360dc4aa9081c68bffbded /tools/perf/scripts/python/compaction-times.py | |
parent | ce288e0535688cc3475a3c3d4d96624514c3550c (diff) |
block: refactor the bounce buffering code
Get rid of all the PFN arithmetics and just use an enum for the two
remaining options, and use PageHighMem for the actual bounce decision.
Add a fast path to entirely avoid the call for the common case of a queue
not using the legacy bouncing code.
Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: Martin K. Petersen <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions