]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/lightnvm/gennvm.c
lightnvm: remove open/close statistics for gennvm
authorMatias Bjørling <m@bjorling.me>
Thu, 7 Jul 2016 07:54:14 +0000 (09:54 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 7 Jul 2016 14:51:52 +0000 (08:51 -0600)
commit077d2389994197277f4f7662b13d11b2f67646a7
tree1bd9690d5a449a78def55930963de35e699ca49e
parent12624af26e59095a1b5216670028390177aa5820
lightnvm: remove open/close statistics for gennvm

The responsibility of the media manager is not to keep track of
open/closed blocks. This is better maintained within a target,
that already manages this information on writes.

Remove the statistics and merge the states NVM_BLK_ST_OPEN and
NVM_BLK_ST_CLOSED.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/gennvm.c
drivers/lightnvm/rrpc.c
include/linux/lightnvm.h