block: move blk_account_io_{start,done} to blk-mq.c
authorChristoph Hellwig <hch@lst.de>
Wed, 17 Nov 2021 06:14:01 +0000 (07:14 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Nov 2021 13:34:51 +0000 (06:34 -0700)
commit450b7879e34517c3ebc3a35a53806fe40e60fac2
tree2437681fff3078cd71bc3f45f854ca785411fe76
parentf2b8f3ce989d8066f2dedaad223b3e73c4485223
block: move blk_account_io_{start,done} to blk-mq.c

These are only used for request based I/O, so move them where they are
used.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20211117061404.331732-9-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-mq.c
block/blk.h