diff options
author | Hou Tao <houtao1@huawei.com> | 2019-05-21 15:59:04 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-09-15 16:02:10 -0600 |
commit | 9a91b05bba58e5bd83034e69407d11641e8064e9 (patch) | |
tree | c34f358f4b21023c234beb88a43d473e361f8a6f /kernel/taskstats.c | |
parent | 3d24430694077313c75c6b89f618db09943621e4 (diff) | |
download | linux-9a91b05bba58e5bd83034e69407d11641e8064e9.tar.gz linux-9a91b05bba58e5bd83034e69407d11641e8064e9.tar.bz2 linux-9a91b05bba58e5bd83034e69407d11641e8064e9.zip |
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: Hou Tao <houtao1@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/taskstats.c')
0 files changed, 0 insertions, 0 deletions