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 19:12:51 +0000 (12:12 -0700)
commiteec44565e9ab13bbf5b48864a68871eabf1115c1
tree921d3670cb7224ddde2300026f93a11e664644a9
parent0ac4072eb10c9627415eb1ca511121156e20012c
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