[LU-17288] LU-13485 breaks Ubuntu build Created: 15/Nov/23  Updated: 15/Nov/23

Status: In Progress
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Artem Blagodarenko Assignee: Artem Blagodarenko
Resolution: Unresolved Votes: 0
Labels: patch

Issue Links:
Blocker
is blocking LU-13485 Enable parallel compile tests during ... Closed
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

 With patch https://review.whamcloud.com/c/ex/lustre-release/+/52655/
"ldiskfs: Parallel configure tests for ldiskfs"  aarch64 Ubuntu 20.04 build fails with

/home/ablagodarenko/workdir/lustre-ex/lustre/osd-ldiskfs/osd_iam_lvar.c:187:21: note: in definition of macro ‘e_ldiskfsfs_dirhash’
  187 |   ldiskfsfs_dirhash(name, len, info)
      |                     ^~~~
In file included from /home/ablagodarenko/workdir/lustre-ex/lustre/osd-ldiskfs/osd_internal.h:54,
                 from /home/ablagodarenko/workdir/lustre-ex/lustre/osd-ldiskfs/osd_iam_lvar.c:40:
/home/ablagodarenko/workdir/lustre-ex/ldiskfs/ldiskfs.h:2770:50: note: expected ‘const struct inode *’ but argument is of type ‘const char *’
 2770 | extern int ldiskfsfs_dirhash(const struct inode *dir, const char *name, int len,
      |                              ~~~~~~~~~~~~~~~~~~~~^~~
/home/ablagodarenko/workdir/lustre-ex/lustre/osd-ldiskfs/osd_iam_lvar.c:210:29: warning: passing argument 2 of ‘ldiskfsfs_dirhash’ makes pointer from integer without a cast [-Wint-conversion]
  210 |   e_ldiskfsfs_dirhash(name, namelen, &hinfo);
      |                             ^~~~~~~
      |                             |
      |                             int
 

HAVE_LDISKFSFS_GETHASH_INODE_ARG macros have been excluded, but still used in osd_iam_lvar.c



 Comments   
Comment by Gerrit Updater [ 15/Nov/23 ]

"Artem Blagodarenko <ablagodarenko@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53148
Subject: LU-17288 osd: HAVE_LDISKFSFS_GETHASH_INODE_ARG gone
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e4ef2757739d58e43a66ff6fbc99d0a14583e002

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