diff options
| author | Bart Van Assche <[email protected]> | 2022-07-14 11:06:49 -0700 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-07-14 12:14:31 -0600 |
| commit | a3282b432f64e9b88632bd380c90157673dce75b (patch) | |
| tree | 65d7e9be048c4fb72dd5b68d537c1c4acf8e2a0c /tools/perf/scripts/python/stackcollapse.py | |
| parent | 71f7113d20ae1083e66ce3301f387362184cdd96 (diff) | |
dm/core: Combine request operation type and flags
Improve kernel code uniformity by combining the request operation type and
flags into a single variable. Change 'int rw' into 'enum req_op op' because
the name 'op' is what is used in the block layer to hold a request type.
Use the blk_opf_t and enum req_op types where appropriate to improve static
type checking.
Cc: Alasdair Kergon <[email protected]>
Cc: Mike Snitzer <[email protected]>
Cc: Mikulas Patocka <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions