summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2025-09-10 14:30:42 +0800
committerJens Axboe <axboe@kernel.dk>2025-09-10 05:23:45 -0600
commit1f963bdd6420b6080bcfd0ee84a75c96f35545a6 (patch)
tree82fe3515ebee46f2f88237ec5ad1eb58df73510c /include/linux
parent1733e88874838ddebf7774440c285700865e6b08 (diff)
block: initialize bio issue time in blk_mq_submit_bio()
bio->issue_time_ns is only used by blk-iolatency, which can only be enabled for rq-based disk, hence it's not necessary to initialize the time for bio-based disk. Meanwhile, if bio is split by blk_crypto_fallback_split_bio_if_needed(), the issue time is not initialized for new split bio, this can be fixed as well. Noted the next patch will optimize better that bio issue time will only be used when blk-iolatency is really enabled by the disk. Fixes: 488f6682c832 ("block: blk-crypto-fallback for Inline Encryption") Signed-off-by: Yu Kuai <yukuai3@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions