]> Git Repo - linux.git/commit - block/blk-stat.c
blk-stat: fix a few cases of missing batch flushing
authorJens Axboe <[email protected]>
Fri, 9 Dec 2016 20:08:35 +0000 (13:08 -0700)
committerJens Axboe <[email protected]>
Fri, 9 Dec 2016 20:08:35 +0000 (13:08 -0700)
commit7cd54aa8438947602cf68eda1db327822b9b8e6b
tree42c0d2935f29a7644425146bd2ea08f436d70e8e
parentc8e52ba5e2d6df5acaaeedda20d74f4ec3adcc82
blk-stat: fix a few cases of missing batch flushing

Everytime we need to read ->nr_samples, we should have flushed
the batch first. The non-mq read path also needs to flush the
batch.

Signed-off-by: Jens Axboe <[email protected]>
block/blk-stat.c
This page took 0.04726 seconds and 4 git commands to generate.