diff options
author | Javier Gonzalez <javier@javigon.com> | 2015-11-20 13:47:56 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-11-20 08:33:20 -0700 |
commit | 0b59733b95f9d7af6bee6e6a4d0d444eb694c514 (patch) | |
tree | 8cc6efa06ebc51e8fc15021c46821be456913f23 /drivers/uwb/ie.c | |
parent | 47b3115ae7b799be8b77b0f024215ad4f68d6460 (diff) |
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>
Diffstat (limited to 'drivers/uwb/ie.c')
0 files changed, 0 insertions, 0 deletions