diff options
| author | 2024-01-23 16:12:48 +0800 | |
|---|---|---|
| committer | 2024-02-05 10:16:12 -0700 | |
| commit | 3bca7640b4c50621b94365a1746f4b86116fec56 (patch) | |
| tree | 2a48d5858bd1e0584d84cb886ccc4a20cf1d0eb5 /scripts/Makefile.thinlto | |
| parent | block: update cached timestamp post schedule/preemption (diff) | |
blk-throttle: Eliminate redundant checks for data direction
After calling throtl_peek_queued(), the data direction can be determined so
there is no need to call bio_data_dir() to check the direction again.
Signed-off-by: Tang Yizhou <yizhou.tang@shopee.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240123081248.3752878-1-yizhou.tang@shopee.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
