]> asedeno.scripts.mit.edu Git - linux.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)
commit998ba62973132e886b0411f00bc66fbb31507e84
tree9d883aff6821c4176a8c4daec6fd5f5ecfb426c1
parent30d82a8631428709c436ea5568bf68fe7cfaf8e8
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