aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/blkdev.h
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 /include/linux/blkdev.h
parentblock: update cached timestamp post schedule/preemption (diff)
downloadwireguard-linux-3bca7640b4c50621b94365a1746f4b86116fec56.tar.xz
wireguard-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 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions