diff options
author | Tang Yizhou <yizhou.tang@shopee.com> | 2024-01-23 16:12:48 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-02-05 10:16:12 -0700 |
commit | 3bca7640b4c50621b94365a1746f4b86116fec56 (patch) | |
tree | 2a48d5858bd1e0584d84cb886ccc4a20cf1d0eb5 /drivers/block/rbd.c | |
parent | 06b23f92af87a84d70881b2ecaa72e00f7838264 (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 'drivers/block/rbd.c')
0 files changed, 0 insertions, 0 deletions