mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Javier González" <jg@lightnvm.io>
To: Wenwei Tao <ww.tao0320@gmail.com>
Cc: "Matias Bjørling" <mb@lightnvm.io>,
	linux-kernel@vger.kernel.org, linux-block@vger.kernel.org
Subject: Re: [PATCH v4 1/2] lightnvm: add non-continuous lun target creation support
Date: Mon, 21 Mar 2016 08:55:12 +0100	[thread overview]
Message-ID: <1D7DBB06-093D-4F57-AE9F-E5EE43345532@lightnvm.io> (raw)
In-Reply-To: <CACygaLBYu21PhExD4zOe74La97VtjnoqS3+V+7xxMoNLzmTQGA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1057 bytes --]

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



[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 842 bytes --]

      reply	other threads:[~2016-03-21  7:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-16 11:28 Wenwei Tao
2016-02-16 11:28 ` [PATCH 2/2] lightnvm: export per lun information to user Wenwei Tao
2016-02-18 12:35 ` [PATCH v4 1/2] lightnvm: add non-continuous lun target creation support Javier González
2016-03-19 12:52   ` Wenwei Tao
2016-03-21  7:55     ` Javier González [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1D7DBB06-093D-4F57-AE9F-E5EE43345532@lightnvm.io \
    --to=jg@lightnvm.io \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mb@lightnvm.io \
    --cc=ww.tao0320@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®