New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spdk: update SPDK to v17.10 #19208
spdk: update SPDK to v17.10 #19208
Conversation
Signed-off-by: Kefu Chai <kchai@redhat.com>
e98c24c
to
e96739e
Compare
e96739e
to
5be61ab
Compare
5be61ab
to
4b6925e
Compare
SUSE build test (essentially #19122 and this PR) now running in https://build.opensuse.org/package/show/home:smithfarm:branches:filesystems:ceph:mimic/ceph |
* cmake/modules/BuildSPDK.cmake: add lvol * cmake/modules/BuildDPDK.cmake: add pci and bus_pci * ceph.spec.in, cmake/modules/BuildSPDK.cmake, debian/control: re-introduce libuuid dependency, as 17.07 added lvol. and the latter depends on uuid. * cmake/modules/BuildSPDK.cmake: avoid introducing local variable of `iface_libs`. * cmake/modules/patch-dpdk-conf.sh: disable CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES, this option introduces the balanced allocation of memory. but it also requires libnuma-dev. let's disable it for now. Signed-off-by: Kefu Chai <kchai@redhat.com>
4b6925e
to
b3ceafe
Compare
@tchaikov Maybe I approved this too soon. I activated the i586 build in OBS and it fails with:
Is this expected? |
@tchaikov
|
@wjwithagen i suspect it's a bug in FreeBSD. see also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204426. and seems @asomers also ran into this issue before, see http://dpdk.org/ml/archives/dev/2017-July/072213.html. |
Try putting |
@smithfarm which sha1 you were building?
and on spdk.common.mk:171, it's related CXX compiling: spdk/spdk@b17d4d9#diff-7c87b4059369ef6dd77486f206021f01R171 . and |
@asomers thanks for chiming in. but IMHO, a public header file is supposed to be self-contained, and https://github.com/freebsd/freebsd/blob/master/sys/vm/vm_phys.h does not |
@tchaikov FreeBSD doesn't always follow that rule. There are many functions that require including multiple header files. For example, mount(2) requires including two. You just have to include whatever the man page tells you to include. And in this case, SPDK is including header files that are normally only used within the kernel itself. It's even apparently #defining |
@asomers thank you for the detailed explanation! will send a PR to DPDK then. |
@wjwithagen i sent a patch to DPDK upstream, in the meanwhile, you can watch the tracker ticket filed at http://tracker.ceph.com/issues/22278 |
@tchaikov |
@wjwithagen what exactly the FreeBSD version did you compile with? the upstream maintainer of SPDK replied to me that SPDK compiles fine with FreeBSD 10 and 11. |
@wjwithagen for an example of a port that needs kernel sources, see sysutils/graid5 or sysutils/py-zfs. |
|
@wjwithagen ack. |
No description provided.