diff options
author | Christoph Hellwig <[email protected]> | 2024-06-26 06:59:37 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-06-28 10:29:41 -0600 |
commit | df3c485e0e60e8ad87f168092f1513a3d621fa4b (patch) | |
tree | 0928db7ee71a68fd0c6f9796dd9268cb757efb26 /tools/perf/scripts | |
parent | dac18fabba59149acec42621b9b603654e9459b2 (diff) |
block: switch on bio operation in bio_integrity_prep
Use a single switch to perform read and write specific checks and exit
early for other operations instead of having two checks using different
predicates.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Kanchan Joshi <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions