<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hi,<br>
<br>
For Lustre 2.15 only ZFS 2.1.15 is supported. Even for 2.16 only ZFS
2.2 is supported. I would expect there would be a lot of issues when
trying 2.3.<br>
<br>
That direct I/O support could be a game changer on NVMes, so I
understand the attempt :-)<br>
<br>
Cheers,<br>
Hans Henrik<br>
<br>
<div class="moz-cite-prefix">On 17/02/2025 12.49, Alex Vodeyko via
lustre-discuss wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+HxnGoaugjLWvQOiyF9T8b65nFGUhA6oS=ThqmhmMQxZ6q6Fw@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">Hi,
I've got the following error while compiling the latest b2_15 lustre
head on rhel8.10 with zfs-2.3.0 and 4.18.0-553.27.1.el8_lustre.x86_64
kernel (from lustre-2.15.6)
Making all in .
In file included from include/linux/kernel.h:10,
from
/tmp/rpmbuild-lustre-root-EBq5OI5z/BUILD/lustre-2.15.6_11_ged826bd_dirty/libcfs/include/libcfs/libcfs.h:35,
from
/tmp/rpmbuild-lustre-root-EBq5OI5z/BUILD/lustre-2.15.6_11_ged826bd_dirty/lustre/osd-zfs/osd_index.c:39:
/tmp/rpmbuild-lustre-root-EBq5OI5z/BUILD/lustre-2.15.6_11_ged826bd_dirty/lustre/osd-zfs/osd_index.c:
In function ‘osd_dir_it_next’:
/tmp/rpmbuild-lustre-root-EBq5OI5z/BUILD/lustre-2.15.6_11_ged826bd_dirty/lustre/osd-zfs/osd_index.c:1333:21:
error: invalid application of ‘sizeof’ to incomplete type ‘char[]’
BUILD_BUG_ON(sizeof(za->za_name) > sizeof(it->ozi_name));
^
include/linux/compiler.h:439:19: note: in definition of macro
‘__compiletime_assert’
bool __cond = !(condition); \
^~~~~~~~~
include/linux/compiler.h:462:2: note: in expansion of macro
‘_compiletime_assert’
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro
‘compiletime_assert’
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
^~~~~~~~~~~~~~~~
/tmp/rpmbuild-lustre-root-EBq5OI5z/BUILD/lustre-2.15.6_11_ged826bd_dirty/lustre/osd-zfs/osd_index.c:1333:2:
note: in expansion of macro ‘BUILD_BUG_ON’
BUILD_BUG_ON(sizeof(za->za_name) > sizeof(it->ozi_name));
^~~~~~~~~~~~
make[7]: *** [scripts/Makefile.build:317:
/tmp/rpmbuild-lustre-root-EBq5OI5z/BUILD/lustre-2.15.6_11_ged826bd_dirty/lustre/osd-zfs/osd_index.o]
Error 1
make[6]: *** [scripts/Makefile.build:558:
/tmp/rpmbuild-lustre-root-EBq5OI5z/BUILD/lustre-2.15.6_11_ged826bd_dirty/lustre/osd-zfs]
Error 2
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [scripts/Makefile.build:558:
/tmp/rpmbuild-lustre-root-EBq5OI5z/BUILD/lustre-2.15.6_11_ged826bd_dirty/lustre]
Error 2
make[4]: *** [Makefile:1619:
_module_/tmp/rpmbuild-lustre-root-EBq5OI5z/BUILD/lustre-2.15.6_11_ged826bd_dirty]
Error 2
make[3]: *** [autoMakefile:1154: modules] Error 2
make[2]: *** [autoMakefile:692: all-recursive] Error 1
make[1]: *** [autoMakefile:552: all] Error 2
error: Bad exit status from
/tmp/rpmbuild-lustre-root-EBq5OI5z/TMP/rpm-tmp.NTKKgC (%build)
RPM build errors:
line 306: second Summary
Bad exit status from
/tmp/rpmbuild-lustre-root-EBq5OI5z/TMP/rpm-tmp.NTKKgC (%build)
make: *** [autoMakefile:1265: rpms] Error 1
Could you please help with it?
Many thanks,
Alex
_______________________________________________
lustre-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a>
</pre>
</blockquote>
<br>
</body>
</html>