hpc / hpc/mpifileutils

error: ‘struct lov_user_mds_data_v2’ has no member named ‘lmd_st’ with Lustre 2.13

Open
#322 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
200
Forks
85
Avg merge
3d 21h
Merged PRs (30d)
2

Description

Hi!

I got the following error when trying to compile mpifileutils 0.10 with Lustre 2.13.0:

$ cmake [...] -DENABLE_LUSTRE=ON ..
$ make
Scanning dependencies of target mfu_o
[  1%] Building C object src/common/CMakeFiles/mfu_o.dir/mfu_bz2.c.o
[  2%] Building C object src/common/CMakeFiles/mfu_o.dir/mfu_bz2_static.c.o
[  4%] Building C object src/common/CMakeFiles/mfu_o.dir/mfu_compress_bz2_libcircle.c.o
[  5%] Building C object src/common/CMakeFiles/mfu_o.dir/mfu_decompress_bz2_libcircle.c.o
[  7%] Building C object src/common/CMakeFiles/mfu_o.dir/mfu_flist.c.o
[  8%] Building C object src/common/CMakeFiles/mfu_o.dir/mfu_flist_chunk.c.o
[ 10%] Building C object src/common/CMakeFiles/mfu_o.dir/mfu_flist_copy.c.o
[ 11%] Building C object src/common/CMakeFiles/mfu_o.dir/mfu_flist_io.c.o
[ 13%] Building C object src/common/CMakeFiles/mfu_o.dir/mfu_flist_chmod.c.o
[ 14%] Building C object src/common/CMakeFiles/mfu_o.dir/mfu_flist_create.c.o
[ 16%] Building C object src/common/CMakeFiles/mfu_o.dir/mfu_flist_remove.c.o
[ 17%] Building C object src/common/CMakeFiles/mfu_o.dir/mfu_flist_sort.c.o
[ 19%] Building C object src/common/CMakeFiles/mfu_o.dir/mfu_flist_usrgrp.c.o
[ 20%] Building C object src/common/CMakeFiles/mfu_o.dir/mfu_flist_walk.c.o
/dev/shm/mpifileutils-0.10/src/common/mfu_flist_walk.c: In function ‘lustre_mds_stat’:
/dev/shm/mpifileutils-0.10/src/common/mfu_flist_walk.c:157:69: error: ‘struct lov_user_mds_data_v2’ has no member named ‘lmd_st’
         lstat_t* ls = (lstat_t*) & ((struct lov_user_mds_data*) buf)->lmd_st;
                                                                     ^
make[2]: *** [src/common/CMakeFiles/mfu_o.dir/mfu_flist_walk.c.o] Error 1
make[1]: *** [src/common/CMakeFiles/mfu_o.dir/all] Error 2
make: *** [all] Error 2

$ rpm -q lustre-client
lustre-client-2.13.0-1.el7.x86_64

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/common/mfu_flist_walk.c at lustre_mds_stat and inspect the Lustre headers provided by Lustre 2.13. Reproduce the reported CMake build with ENABLE_LUSTRE=ON. Done means mpifileutils compiles successfully with the Lustre 2.13 client without the missing lmd_st member error.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.