lkml.org 
[lkml]   [2016]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v4 1/2] lightnvm: add non-continuous lun target creation support
From
Date
Hi Wenwei,

> On 19 Mar 2016, at 13:52, Wenwei Tao <ww.tao0320@gmail.com> 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


[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2016-03-21 09:41    [W:0.093 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site