Re: [RFC PATCH 2/2] lightnvm: add non-continuous lun target creation support

From: Matias BjÃrling
Date: Thu Jan 21 2016 - 04:50:02 EST


On 01/21/2016 10:47 AM, Wenwei Tao wrote:
<snip>
>
> Currently a bitmap of luns already added into nvm_dev, every time we
> map the luns we check the bitmap.
> I don't quite understand why we need to add another bitmap?

We can definitely use lun_map that you introduced in the patch.