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

Commits on Apr 30, 2020

  1. Add ENABLE_BBAPI_FALLBACK, check FS type on BBAPI transfers

    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 committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    502f609 View commit details
    Browse the repository at this point in the history