diff options
| author | Bart Van Assche <[email protected]> | 2023-05-17 10:42:20 -0700 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-05-18 19:47:49 -0600 |
| commit | 4f51644ccff1e4bf159e86da3d9695a1a33ca231 (patch) | |
| tree | a11c71e1e078a0bf654c5d74f9268cd6991319d7 /tools/perf/scripts/python/flamegraph.py | |
| parent | 45b46b6f157169b452772430566772506e25687a (diff) | |
block: Simplify blk_req_needs_zone_write_lock()
Remove the blk_rq_is_passthrough() check because it is redundant:
blk_req_needs_zone_write_lock() also calls bdev_op_is_zoned_write()
and the latter function returns false for pass-through requests.
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Cc: Ming Lei <[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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions