diff options
author | Christoph Hellwig <hch@lst.de> | 2024-06-26 06:59:37 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-06-28 10:29:41 -0600 |
commit | df3c485e0e60e8ad87f168092f1513a3d621fa4b (patch) | |
tree | 0928db7ee71a68fd0c6f9796dd9268cb757efb26 /tools/perf/scripts/python/export-to-sqlite.py | |
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 <hch@lst.de>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20240626045950.189758-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions