All of lore.kernel.org
 help / color / mirror / Atom feed
* [SPDK] fio plugin
@ 2019-07-09 21:44 Nabarro, Tom
  0 siblings, 0 replies; 2+ messages in thread
From: Nabarro, Tom @ 2019-07-09 21:44 UTC (permalink / raw)
  To: spdk

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

We have updated the version of spdk we use in our build to bcfb2b2b9c5f22bceee4e31d0a191f73adebbe9f (from 051297114cb393d3eb1169520d474e81b4215bf0) but now I can't build the fio_plugin. (using fio 3.3 as per https://github.com/spdk/spdk/blob/master/examples/nvme/fio_plugin/README.md)

CC examples/bdev/fio_plugin/fio_plugin.o
In file included from /home/tanabarr/projects/daos_m/_build.external/fio/os/os.h:33:0,
                 from /home/tanabarr/projects/daos_m/_build.external/fio/thread_options.h:5,
                 from /home/tanabarr/projects/daos_m/_build.external/fio/fio.h:18,
                 from fio_plugin.c:49:
/home/tanabarr/projects/daos_m/_build.external/fio/os/os-linux.h:358:23: error: conflicting types for 'preadv2'
static inline ssize_t preadv2(int fd, const struct iovec *iov, int iovcnt,
                       ^~~~~~~
In file included from /home/tanabarr/projects/daos_m/_build.external/spdk/include/spdk/stdinc.h:84:0,
                 from fio_plugin.c:34:
/usr/include/sys/uio.h:127:16: note: previous declaration of 'preadv2' was here
extern ssize_t preadv2 (int __fp, const struct iovec *__iovec, int __count,
                ^~~~~~~
In file included from /home/tanabarr/projects/daos_m/_build.external/fio/os/os.h:33:0,
                 from /home/tanabarr/projects/daos_m/_build.external/fio/thread_options.h:5,
                 from /home/tanabarr/projects/daos_m/_build.external/fio/fio.h:18,
                 from fio_plugin.c:49:
/home/tanabarr/projects/daos_m/_build.external/fio/os/os-linux.h:366:23: error: conflicting types for 'pwritev '
static inline ssize_t pwritev2(int fd, const struct iovec *iov, int iovcnt,
                       ^~~~~~~~
In file included from /home/tanabarr/projects/daos_m/_build.external/spdk/include/spdk/stdinc.h:84:0,
                 from fio_plugin.c:34:
/usr/include/sys/uio.h:131:16: note: previous declaration of 'pwritev2' was here
extern ssize_t pwritev2 (int __fd, const struct iovec *__iodev, int __count,
                ^~~~~~~~

This is on Fedora 28. Has anyone else experienced this or have any suggestions?

Tom

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [SPDK] fio plugin
@ 2019-07-09 23:34 Luse, Paul E
  0 siblings, 0 replies; 2+ messages in thread
From: Luse, Paul E @ 2019-07-09 23:34 UTC (permalink / raw)
  To: spdk

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

Hi Tom,

I've been using fio plug-in a lot lately and haven't had any issues following the readme you mention below although for reason I thought there was a configure step in the /fio dir before making there. I'm using Fedora29 though with gcc (GCC) 8.3.1 20190223 (Red Hat 8.3.1-2).  I dunno maybe run through the steps again and capture all of the commands and output along the way, maybe something will jump out if someone else doesn't chime in before with an answer.

Thx
Paul


-----Original Message-----
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of Nabarro, Tom
Sent: Tuesday, July 9, 2019 2:45 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: [SPDK] fio plugin

We have updated the version of spdk we use in our build to bcfb2b2b9c5f22bceee4e31d0a191f73adebbe9f (from 051297114cb393d3eb1169520d474e81b4215bf0) but now I can't build the fio_plugin. (using fio 3.3 as per https://github.com/spdk/spdk/blob/master/examples/nvme/fio_plugin/README.md)

CC examples/bdev/fio_plugin/fio_plugin.o
In file included from /home/tanabarr/projects/daos_m/_build.external/fio/os/os.h:33:0,
                 from /home/tanabarr/projects/daos_m/_build.external/fio/thread_options.h:5,
                 from /home/tanabarr/projects/daos_m/_build.external/fio/fio.h:18,
                 from fio_plugin.c:49:
/home/tanabarr/projects/daos_m/_build.external/fio/os/os-linux.h:358:23: error: conflicting types for 'preadv2'
static inline ssize_t preadv2(int fd, const struct iovec *iov, int iovcnt,
                       ^~~~~~~
In file included from /home/tanabarr/projects/daos_m/_build.external/spdk/include/spdk/stdinc.h:84:0,
                 from fio_plugin.c:34:
/usr/include/sys/uio.h:127:16: note: previous declaration of 'preadv2' was here extern ssize_t preadv2 (int __fp, const struct iovec *__iovec, int __count,
                ^~~~~~~
In file included from /home/tanabarr/projects/daos_m/_build.external/fio/os/os.h:33:0,
                 from /home/tanabarr/projects/daos_m/_build.external/fio/thread_options.h:5,
                 from /home/tanabarr/projects/daos_m/_build.external/fio/fio.h:18,
                 from fio_plugin.c:49:
/home/tanabarr/projects/daos_m/_build.external/fio/os/os-linux.h:366:23: error: conflicting types for 'pwritev '
static inline ssize_t pwritev2(int fd, const struct iovec *iov, int iovcnt,
                       ^~~~~~~~
In file included from /home/tanabarr/projects/daos_m/_build.external/spdk/include/spdk/stdinc.h:84:0,
                 from fio_plugin.c:34:
/usr/include/sys/uio.h:131:16: note: previous declaration of 'pwritev2' was here extern ssize_t pwritev2 (int __fd, const struct iovec *__iodev, int __count,
                ^~~~~~~~

This is on Fedora 28. Has anyone else experienced this or have any suggestions?

Tom

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
_______________________________________________
SPDK mailing list
SPDK(a)lists.01.org
https://lists.01.org/mailman/listinfo/spdk

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-09 23:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-09 21:44 [SPDK] fio plugin Nabarro, Tom
2019-07-09 23:34 Luse, Paul E

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.