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@lists.01.org> on behalf of Dale Corlett <dale.corlett@nyriad.com>
Reply-To: Storage Performance Development Kit <spdk@lists.01.org>
Date: Tuesday, November 29, 2016 at 3:38 PM
To: Storage Performance Development Kit <spdk@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 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@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@lists.01.org
https://lists.01.org/mailman/listinfo/spdk