Storage Performance Development Kit (SPDK)
 help / color / mirror / Atom feed
From: Daniel Verkamp <daniel.verkamp at intel.com>
To: spdk@lists.01.org
Subject: Re: [SPDK] Netlist storage card
Date: Tue, 29 Nov 2016 14:41:18 -0700	[thread overview]
Message-ID: <d19446f5-84a6-3bb4-727f-6bac3d1cb33f@intel.com> (raw)
In-Reply-To: CAGcKcXTQRoX91mCwqvd00hiS49gGWfccf7x1nbbwx5JD3DS-cg@mail.gmail.com

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

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

             reply	other threads:[~2016-11-29 21:41 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-29 21:41 Daniel Verkamp [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-30  1:07 Harris, James R
2016-11-29 22:38 Dale Corlett
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=d19446f5-84a6-3bb4-727f-6bac3d1cb33f@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