]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: add free and bad lun info to show luns
authorJavier Gonzalez <javier@javigon.com>
Fri, 20 Nov 2015 12:47:57 +0000 (13:47 +0100)
committerJens Axboe <axboe@fb.com>
Fri, 20 Nov 2015 15:33:21 +0000 (08:33 -0700)
commit73c9905e494195803ceabea343407d749541c8f5
treec4dff376fb73f7d473152cd727a17b64827fdd31
parent0ec2a78beeed04ee80e1c6bbe510a109c33a39b8
lightnvm: add free and bad lun info to show luns

Add free block, used block, and bad block information to the show debug
interface. This information is used to debug how targets track blocks.

Also, change debug function name to make it more generic.

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