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: NJens Axboe <axboe@fb.com>
Showing
想要评论请 注册 或 登录