lightnvm: remove debug lun statistics from gennvm
authorJavier González <jg@lightnvm.io>
Mon, 28 Nov 2016 21:39:08 +0000 (22:39 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 29 Nov 2016 15:01:17 +0000 (08:01 -0700)
commitdb1d23a374f6b7bd315403e2bc937d2ed716d189
tree921d3670cb7224ddde2300026f93a11e664644a9
parent20066ecb86b73b19f8f6d21fc11f57137a5e8056
lightnvm: remove debug lun statistics from gennvm

Since LUNs are managed internally on targets, the media manager has no
access to the free LUN lists. Thus, debug functions that show LUN
information on the device should not be implemented on the media
manager, but rather on the target in itself.

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