Skip to content
Snippets Groups Projects
Commit 9a91b05b authored by Hou Tao's avatar Hou Tao Committed by Jens Axboe
Browse files

block: also check RQF_STATS in blk_mq_need_time_stamp()


In __blk_mq_end_request() if block stats needs update, we should
ensure now is valid instead of 0 even when iostat is disabled.

Signed-off-by: default avatarHou Tao <houtao1@huawei.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 3d244306
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment