summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorTang Yizhou <yizhou.tang@shopee.com>2024-01-23 16:12:48 +0800
committerJens Axboe <axboe@kernel.dk>2024-02-05 10:16:12 -0700
commit3bca7640b4c50621b94365a1746f4b86116fec56 (patch)
tree2a48d5858bd1e0584d84cb886ccc4a20cf1d0eb5 /drivers/block
parent06b23f92af87a84d70881b2ecaa72e00f7838264 (diff)
downloadlinux-3bca7640b4c50621b94365a1746f4b86116fec56.tar.gz
linux-3bca7640b4c50621b94365a1746f4b86116fec56.tar.bz2
linux-3bca7640b4c50621b94365a1746f4b86116fec56.zip
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 'drivers/block')
0 files changed, 0 insertions, 0 deletions