]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: pblk: add iostat support
authorJavier González <javier@cnexlabs.com>
Fri, 5 Jan 2018 13:16:20 +0000 (14:16 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 5 Jan 2018 15:50:12 +0000 (08:50 -0700)
commitb2bc488a36b8bafdaa3b06ff504c1d5a8bb21701
tree9d883aff6821c4176a8c4daec6fd5f5ecfb426c1
parent70a5afe9e4f9162dec28c70dc5d41eeb05437eb4
lightnvm: pblk: add iostat support

Since pblk registers its own block device, the iostat accounting is
not automatically done for us. Therefore, add the necessary
accounting logic to satisfy the iostat interface.

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-cache.c
drivers/lightnvm/pblk-read.c
drivers/lightnvm/pblk.h