lightnvm: pblk: add debug stat for read cache hits
authorJavier González <jg@lightnvm.io>
Mon, 26 Jun 2017 09:57:13 +0000 (11:57 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 26 Jun 2017 22:24:53 +0000 (16:24 -0600)
commitdb7ada33cdcae7fef0a088141b1e4ab8c25fd395
tree10e098319a92916b999c5b52e532306ec65e9f57
parentcaa69fa560025d12c276abd62d58a87b94324708
lightnvm: pblk: add debug stat for read cache hits

Add a new debug counter to measure cache hits on the read path

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