diff options
| author | Christoph Hellwig <[email protected]> | 2023-04-11 19:14:49 +0200 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-04-18 16:29:58 -0700 |
| commit | 82ca875d2549f6843d0d16e897c9e1e0a13c8a74 (patch) | |
| tree | f99ec345290ccabbd02ad957623fbafe15385b51 /tools/perf/scripts/python | |
| parent | 57de7bd830dae90301329748d60e196fab4c4125 (diff) | |
zram: refactor highlevel read and write handling
Instead of having an outer loop in __zram_make_request and then branch out
for reads vs writes for each loop iteration in zram_bvec_rw, split the
main handler into separat zram_bio_read and zram_bio_write handlers that
also include the functionality formerly in zram_bvec_rw.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: Minchan Kim <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions