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

Dynamically determine whether lseek extended options are supported #1365

Merged
merged 1 commit into from
Aug 20, 2020

Conversation

ggtakec
Copy link
Member

@ggtakec ggtakec commented Aug 16, 2020

Relevant Issue (if applicable)

#1354

Details

This PR is a code to avoid that s3fs cannot be built when whence SEEK_HOLE/SEEK_DATA of the lseek function is undefined.
Also, in the runtime environment where lseek cannot recognize these whence, s3fs will not start up with an error if the set_check_cache_sigusr1 option is specified.

This fix will broaden the build and run environments.

However, I think that we do not want to change the target OS supported by s3fs by this fix does.
The environment that can be built/executed is increase to wide, but the OS environment that can be officially supported follows the contents discussed in #1354.

@ggtakec
Copy link
Member Author

ggtakec commented Aug 20, 2020

@gaul This PR is merged to proceed with future merges.

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.

1 participant