]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
block: always use a percpu variable for disk stats
authorChristoph Hellwig <hch@lst.de>
Wed, 27 May 2020 05:24:14 +0000 (07:24 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 27 May 2020 11:21:23 +0000 (05:21 -0600)
commit58d4f14fc30ac26288cfed74d7e566921c22cf59
treeb55c90cab60c05e5bc5676d45110827a3818a23b
parent9123bf6f21b015cce16f3ce066c72aac9fc78d2f
block: always use a percpu variable for disk stats

percpu variables have a perfectly fine working stub implementation
for UP kernels, so use that.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk.h
block/genhd.c
block/partitions/core.c
include/linux/genhd.h
include/linux/part_stat.h