Storage Performance Development Kit (SPDK)
 help / color / mirror / Atom feed
From: Harris, James R <james.r.harris at intel.com>
To: spdk@lists.01.org
Subject: Re: [SPDK] Netlist storage card
Date: Wed, 30 Nov 2016 01:07:12 +0000	[thread overview]
Message-ID: <A42C80CB-9CD3-43F6-9C21-66FBE36F1F28@intel.com> (raw)
In-Reply-To: CAGcKcXSzNAuOu7hygQ5njc66Mre6nh+3auyA8q58MXqXCDtScw@mail.gmail.com

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

Hi Dale,

You can pass the name of your config file to the iscsi_tgt app using the –c option.

-Jim


From: SPDK <spdk-bounces(a)lists.01.org> on behalf of Dale Corlett <dale.corlett(a)nyriad.com>
Reply-To: Storage Performance Development Kit <spdk(a)lists.01.org>
Date: Tuesday, November 29, 2016 at 3:38 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] Netlist storage card

Hi,

I have added the [AIO] section to the config file: /home/dale/spdk/etc/spdk/iscsi.conf.in<http://iscsi.conf.in> but I cannot figure out how to "run" SPDK to create the SPDK block device called AIO0.

I have tried following the guid for the iscsi block device: http://www.spdk.io/spdk/doc/iscsi_getting_started.html but I am not sure if I have used the correct config file.

Thanks,
Dale

On Wed, Nov 30, 2016 at 10:41 AM, Daniel Verkamp <daniel.verkamp(a)intel.com<mailto:daniel.verkamp(a)intel.com>> wrote:
On 11/29/2016 02:15 PM, Dale Corlett wrote:
> Hi,
>
> Thank you all for your replies.
>
> Jim, I think that I will first try the AIO first, and then try
> writing the userspace driver and bdev module. I am not sure of what I
> should do with the config files, or how to get the .ko file for the
> AIO module. Is there a makefile that gets the .ko module file or do I
> have to create one?
>
> Also, when trying to use ./scripts/setup.sh I found that it did not
> work because I got then message: "logname: no login name". I think
> that this is a problem with the 16.04 version of Ubuntu:
> https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1537645
> so I changed line 177 to: username= `echo whoami` and this seems to
> work.
>
> Thanks, Dale

Hi Dale,

You do not need any special kernel modules to use the SPDK AIO bdev -
it uses the libaio userspace library provided by glibc and the block
devices that are exposed by the usual kernel drivers for any block
device that is supported by Linux.

Thanks for the report about logname - I'll prepare a patch to work
around that issue. The only time the username provided by logname is
used is to provide access to an unprivileged user to the VFIO device,
so if you are running the programs using SPDK as root, there should have
no negative effect.

Thanks,
-- Daniel
_______________________________________________
SPDK mailing list
SPDK(a)lists.01.org<mailto:SPDK(a)lists.01.org>
https://lists.01.org/mailman/listinfo/spdk


[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 6833 bytes --]

             reply	other threads:[~2016-11-30  1:07 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-30  1:07 Harris, James R [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-02-21 16:56 [SPDK] Netlist storage card Walker, Benjamin
2017-02-18  5:03 Dale Corlett
2017-01-30 19:55 Walker, Benjamin
2017-01-29 21:20 Dale Corlett
2017-01-11  0:38 Dale Corlett
2017-01-09 19:37 Dale Corlett
2017-01-09 18:38 Verkamp, Daniel
2017-01-07 22:48 Dale Corlett
2016-12-19  4:59 Dileep Sharma
2016-12-18  3:57 Dale Corlett
2016-12-01 21:55 Dale Corlett
2016-12-01  4:39 Dale Corlett
2016-12-01  4:06 Kumaraparameshwaran Rathnavel
2016-12-01  3:53 Dale Corlett
2016-11-30 16:46 Walker, Benjamin
2016-11-29 22:38 Dale Corlett
2016-11-29 21:41 Daniel Verkamp
2016-11-29 21:40 Harris, James R
2016-11-29 21:15 Dale Corlett
2016-11-29 16:01 Harris, James R
2016-11-29 15:56 skinnyM
2016-11-29  6:28 Yang, Ziye
2016-11-29  6:05 Dale Corlett

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=A42C80CB-9CD3-43F6-9C21-66FBE36F1F28@intel.com \
    --to=spdk@lists.01.org \
    /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