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>
This commit is contained in:

committed by
Jens Axboe

parent
0b59733b95
commit
2fde0e482d
@@ -544,7 +544,7 @@ static int nvm_configure_show(const char *val)
|
||||
if (!dev->mt)
|
||||
return 0;
|
||||
|
||||
dev->mt->free_blocks_print(dev);
|
||||
dev->mt->lun_info_print(dev);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user