summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2017-03-16 16:46:14 +0100
committerJens Axboe <axboe@fb.com>2017-03-21 17:00:55 +0100
commit7d8d00140715a115193bf502fa3b0cfe620f0dd9 (patch)
treed4a2c36663631ca44d278a346f7f9e994c1be5fb /usr
parentLinux 4.11-rc3 (diff)
downloadlinux-7d8d00140715a115193bf502fa3b0cfe620f0dd9.tar.xz
linux-7d8d00140715a115193bf502fa3b0cfe620f0dd9.zip
blk-stat: fix blk_stat_sum() if all samples are batched
We need to flush the batch _before_ we check the number of samples, otherwise we'll miss all of the batched samples. Fixes: cf43e6b ("block: add scalable completion tracking of requests") Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions