]> 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)
commit53b1255715ad5b0049359bd34ac2988107cfab77
tree9d883aff6821c4176a8c4daec6fd5f5ecfb426c1
parentd2424161f42f76753270c152aee3a9bd2c5e1869
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