summaryrefslogtreecommitdiffstats
path: root/block/elevator.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-06-09 09:36:53 -0600
committerJens Axboe <axboe@fb.com>2014-06-09 09:36:53 -0600
commit3ee3237239583a6555db4f297d00eebdbb6d76ad (patch)
treefd1ccfd86dc6e9687e3bf5e0f8821786d5eb0806 /block/elevator.c
parentde83953f9d710f84c4a162a1d498a73475c07d98 (diff)
downloadlinux-0-day-3ee3237239583a6555db4f297d00eebdbb6d76ad.tar.gz
linux-0-day-3ee3237239583a6555db4f297d00eebdbb6d76ad.tar.xz
blk-mq: always initialize request->start_time
The blk-mq core only initializes this if io stats are enabled, since blk-mq only reads the field in that case. But drivers could potentially use it internally, so ensure that we always set it to the current time when the request is allocated. Reported-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/elevator.c')
0 files changed, 0 insertions, 0 deletions