Re: [PATCH v4 1/2] lightnvm: add non-continuous lun target creation support
From: Javier GonzÃlez
Date: Mon Mar 21 2016 - 03:55:23 EST
Hi Wenwei,
> On 19 Mar 2016, at 13:52, Wenwei Tao <ww.tao0320@xxxxxxxxx> wrote:
>
> Hi Javier
>
> Thanks for the comment.
> I've been busy recently, so this letter is kind of late, hope you don't mind.
> I use the qemu-nvme you mentioned and configure the nvme device driver
> follow the example, it turns out the nvme device is 1 lun, I don't
> know how to configure multiple lun, so I just modify the source code
> to make it multiple lun,
> I'm not sure the modification is right, although it seems works, but
> for sake of safe I also use null_blk driver to debug this patch too.
> It turns out the target creation fail is due to wrong return value
> judgement in rrpc_luns_init().
Multiple LUN support can be found on this branch [1]. We are running
tests; we will merge it into master soon. You are welcome to use it and
send a pull-request if you see that something is missing. Please note
the new options for LightNVM on top of the hw/block/nvme.c
[1]https://github.com/OpenChannelSSD/qemu-nvme/tree/wl_sim
Javier
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail