block: move disk stat accounting to struct block_device
authorChristoph Hellwig <hch@lst.de>
Tue, 24 Nov 2020 08:34:00 +0000 (09:34 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Dec 2020 21:53:40 +0000 (14:53 -0700)
commit15e3d2c5cd53298272e59ad9072d3468f9dd3781
treee526446b6b09c036e9aed966dbe2bdd252f5bb98
parenta782483cc1f875355690625d8253a232f2581418
block: move disk stat accounting to struct block_device

Move the dkstats and stamp field to struct block_device in preparation
of killing struct hd_struct.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c
block/blk-core.c
block/blk.h
block/genhd.c
block/partitions/core.c
fs/block_dev.c
include/linux/blk_types.h
include/linux/genhd.h
include/linux/part_stat.h