Skip to content
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

wrap xattr IO functions with DCOPY_USE_XATTRS #583

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

daltonbohning
Copy link
Collaborator

The calls to these functions and the imports are wrapped with DCOPY_USE_XATTRS so also wrap the mfu_ function definitions since if the system library is not included, the sys functions are not defined.

Resolves #578

The calls to these functions and the imports are wrapped with
DCOPY_USE_XATTRS so also wrap the mfu_ function definitions since if the
system library is not included, the sys functions are not defined.

Signed-off-by: Dalton Bohning <dalton.bohning@intel.com>
@daltonbohning
Copy link
Collaborator Author

@Michael-Hennecke Will you give this a try? It should work for both DCOPY_USE_XATTRS=ON and DCOPY_USE_XATTRS=OFF

Copy link
Collaborator

@ofaaland ofaaland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @daltonbohning thanks for this fix. I have just one question.

src/common/mfu_io.c Outdated Show resolved Hide resolved
Signed-off-by: Dalton Bohning <dalton.bohning@intel.com>
Copy link
Collaborator

@ofaaland ofaaland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@daltonbohning
Copy link
Collaborator Author

Thanks @ofaaland. Okay if I merge this? I use to run them by Adam but not sure what the process is now. (I do have perms to merge)

@ofaaland
Copy link
Collaborator

ofaaland commented Nov 5, 2024

Thanks @ofaaland. Okay if I merge this?

Sounds good, thanks.

I use to run them by Adam but not sure what the process is now. (I do have perms to merge)

Good point, we should discuss a process. @carbonneau1 here at LLNL has agreed to take over mpifileutils maintenance, but is just getting started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Building with -DENABLE_XATTRS=OFF fails with "call to undeclared function"
3 participants