[LU-14080] gnilnd updates for 5.3+ kernel changes Created: 27/Oct/20  Updated: 17/Dec/20  Resolved: 17/Dec/20

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.14.0

Type: Bug Priority: Minor
Reporter: Shaun Tancheff Assignee: Shaun Tancheff
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

A few build issues with gnilnd on SUSE 15 SP2

[  635s] In file included from /home/abuild/rpmbuild/BUILD/cray-lustre-2.12.4.2_cray_181_g77665be/libcfs/include/libcfs/libcfs.h:45:0,
[  635s]                  from /home/abuild/rpmbuild/BUILD/cray-lustre-2.12.4.2_cray_181_g77665be/lnet/include/lnet/lib-lnet.h:42,
[  635s]                  from /home/abuild/rpmbuild/BUILD/cray-lustre-2.12.4.2_cray_181_g77665be/lnet/klnds/gnilnd/gnilnd.h:64,
[  635s]                  from /home/abuild/rpmbuild/BUILD/cray-lustre-2.12.4.2_cray_181_g77665be/lnet/klnds/gnilnd/gnilnd.c:25:
[  635s] /home/abuild/rpmbuild/BUILD/cray-lustre-2.12.4.2_cray_181_g77665be/lnet/klnds/gnilnd/gnilnd.c: In function 'kgnilnd_dev_fini':
[  635s] /home/abuild/rpmbuild/BUILD/cray-lustre-2.12.4.2_cray_181_g77665be/libcfs/include/libcfs/libcfs_private.h:90:6: error: format '%ld' expects argument of type 'long int', but argument 5 has type 's64 {aka long long int}' [-Werror=format=]
[  635s]       "ASSERTION( %s ) failed: " fmt, #cond, \
[  635s]       ^
[  635s] /home/abuild/rpmbuild/BUILD/cray-lustre-2.12.4.2_cray_181_g77665be/lnet/klnds/gnilnd/gnilnd.c:2135:2: note: in expansion of macro 'LASSERTF'
[  635s]   LASSERTF(atomic_read(&dev->gnd_n_mdd) == 0 &&
[  635s]   ^~~~~~~~
[  635s] /home/abuild/rpmbuild/BUILD/cray-lustre-2.12.4.2_cray_181_g77665be/lnet/klnds/gnilnd/gnilnd.c:2138:26: note: format string is defined here
[  635s]    "%d SMSG mappings of %ld bytes still mapped or held %d\n",
[  635s]                         ~~^
[  635s]                         %lld
[  635s] /home/abuild/rpmbuild/BUILD/cray-lustre-2.12.4.2_cray_181_g77665be/lnet/klnds/gnilnd/gnilnd.c: In function 'kgnilnd_base_startup':
[  635s] /home/abuild/rpmbuild/BUILD/cray-lustre-2.12.4.2_cray_181_g77665be/lnet/klnds/gnilnd/gnilnd.c:2231:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration]
[  635s]   do_gettimeofday(&tv);
[  635s]   ^~~~~~~~~~~~~~~
[  635s]   do_settimeofday64
[  635s] /home/abuild/rpmbuild/BUILD/cray-lustre-2.12.4.2_cray_181_g77665be/lnet/klnds/gnilnd/gnilnd.c:2279:3: error: implicit declaration of function 'setup_timer'; did you mean 'sk_stop_timer'? [-Werror=implicit-function-declaration]
[  635s]    setup_timer(&dev->gnd_rdmaq_timer, kgnilnd_schedule_device_timer,
[  635s]    ^~~~~~~~~~~
[  635s]    sk_stop_timer



 Comments   
Comment by Gerrit Updater [ 27/Oct/20 ]

Shaun Tancheff (shaun.tancheff@hpe.com) uploaded a new patch: https://review.whamcloud.com/40426
Subject: LU-14080 gnilnd: updates for SUSE 15 SP2
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: c6a8ec913636250621c77fb0bf8e65353e4390fc

Comment by Gerrit Updater [ 17/Dec/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40426/
Subject: LU-14080 gnilnd: updates for SUSE 15 SP2
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 4b0e495e3c52296a248e37d54665aade87d6901d

Comment by Peter Jones [ 17/Dec/20 ]

Landed for 2.14

Generated at Sat Feb 10 03:06:40 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.