commit | da1e284919b0b99c5bf0618b6c98cbaf2c17e62e | [log] [tgz] |
---|---|---|
author | Wenwei Tao <ww.tao0320@gmail.com> | Thu Mar 03 15:06:38 2016 +0100 |
committer | Jens Axboe <axboe@fb.com> | Fri Mar 18 18:10:38 2016 -0700 |
tree | ef1d8fe8821376dd57fbd4d3319a747841df38e6 | |
parent | 4c9dacb82d5aa36aa2568df60d897f2eb3d8819b [diff] |
lightnvm: add a bitmap of luns Add a bitmap of luns to indicate the status of luns: inuse/available. When create targets do the necessary check to avoid allocating luns that are already allocated. Signed-off-by: Wenwei Tao <ww.tao0320@gmail.com> Freed dev->lun_map if nvm_core_init later failed in the init process. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>