mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[PR #1365] [MERGED] Dynamically determine whether lseek extended options are supported #1939
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#1939
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1365
Author: @ggtakec
Created: 8/16/2020
Status: ✅ Merged
Merged: 8/20/2020
Merged by: @ggtakec
Base:
master← Head:check_lseek📝 Commits (1)
55cb892Dynamically determine whether lseek extended options are supported📊 Changes
3 files changed (+65 additions, -0 deletions)
View changed files
📝
src/fdcache.cpp(+57 -0)📝
src/fdcache.h(+3 -0)📝
src/sighandlers.cpp(+5 -0)📄 Description
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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.