android_kernel_asus_sm8350/drivers/lightnvm
Javier Gonzalez 0b59733b95 lightnvm: keep track of block counts
Maintain number of in use blocks, free blocks, and bad blocks in a per
lun basis. This allows the upper layers to get information about the
state of each lun.

Also, account for blocks reserved to the device on the free block count.
nr_free_blocks matches now the actual number of blocks on the free list
when the device is booted.

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>
2015-11-20 08:33:20 -07:00
..
core.c lightnvm: missing free on init error 2015-11-20 08:33:16 -07:00
gennvm.c lightnvm: keep track of block counts 2015-11-20 08:33:20 -07:00
gennvm.h lightnvm: update bad block table format 2015-11-16 15:20:25 -07:00
Kconfig rrpc: Round-robin sector target with cost-based gc 2015-10-29 16:21:42 +09:00
Makefile rrpc: Round-robin sector target with cost-based gc 2015-10-29 16:21:42 +09:00
rrpc.c lightnvm: remove linear and device addr modes 2015-11-16 15:20:34 -07:00
rrpc.h lightnvm: refactor phys addrs type to u64 2015-11-03 09:53:24 -07:00