lightnvm: pblk: initialize debug stat counter
authorJavier González <javier@cnexlabs.com>
Fri, 13 Oct 2017 12:46:01 +0000 (14:46 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Oct 2017 14:34:57 +0000 (08:34 -0600)
commita1121176ff757e3c073490a69608ea0b18a00ec1
tree57058baa098440fcb8462a3d097435f34dac5c76
parent32825ebb06fafeff463ed23e9d0dea459ebd30fe
lightnvm: pblk: initialize debug stat counter

Initialize the stat counter for garbage collected reads.

Fixes: a4bd217b43268 ("lightnvm: physical block device (pblk) target")
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-init.c