diff options
author | Shaohua Li <shli@fb.com> | 2017-10-07 03:55:59 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-10-10 22:48:14 +0300 |
commit | eca8b53a6769e60d6d8240d71202d73b0af81901 (patch) | |
tree | 6a042bf2b35595851ca83b9e77eec8ca05f1e38a /block/blk-core.c | |
parent | 53cfdc10a95d03fbc82970d682a32696d19ef886 (diff) | |
download | linux-eca8b53a6769e60d6d8240d71202d73b0af81901.tar.xz |
blk-stat: delete useless code
Fix two issues:
- the per-cpu stat flush is unnecessary, nobody uses per-cpu stat except
sum it to global stat. We can do the calculation there. The flush just
wastes cpu time.
- some fields are signed int/s64. I don't see the point.
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions