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

Add ENABLE_BBAPI_FALLBACK, check FS type on BBAPI transfers #64

Merged
merged 1 commit into from
May 1, 2020

Conversation

tonyhutter
Copy link
Collaborator

Previously if you attempted to copy a file using BBAPI, and either the source and destination didn't support file extents, then it would automatically fallback to using pthreads. This change removes
the fallback by default, and returns an error instead. The fallback can be re-enabled by passing -DENABLE_BBAPI_FALLBACK to cmake.

This patch also checks the source and destination filesystem type against a whitelist instead of checking if they support extents. This was more effective, as there were some filesystems that BBAPI could not copy to/from even though they supported extents.

Previously if you attempted to copy a file using BBAPI, and either
the source and destination didn't support file extents, then it
would automatically fallback to using pthreads.  This change removes
the fallback by default, and returns an error instead.  The fallback
can be re-enabled by passing -DENABLE_BBAPI_FALLBACK to cmake.

This patch also checks the source and destination filesystem type
against a whitelist instead of checking if they support extents.
This was more effective, as there were some filesystems that BBAPI
could not copy to/from even though they supported extents.
@tonyhutter
Copy link
Collaborator Author

This patch will help with LLNL/scr#163

@adammoody
Copy link
Contributor

Nice touch to make this an option. Thanks, @tonyhutter .

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.

2 participants