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

Support FUSE_LSEEK, for seeking for and around holes #290

Open
tv42 opened this issue Dec 10, 2022 · 0 comments
Open

Support FUSE_LSEEK, for seeking for and around holes #290

tv42 opened this issue Dec 10, 2022 · 0 comments

Comments

@tv42
Copy link
Member

tv42 commented Dec 10, 2022

Enabled by FUSE protocol 7.24

lseek(2) adds these:

       SEEK_DATA
              Adjust the file offset to the next location in the file greater than or equal to offset  containing  data.
              If offset points to data, then the file offset is set to offset.

       SEEK_HOLE
              Adjust  the  file  offset  to the next hole in the file greater than or equal to offset.  If offset points
              into the middle of a hole, then the file offset is set to offset.  If there is no hole past  offset,  then
              the  file  offset  is  adjusted  to the end of the file (i.e., there is an implicit hole at the end of any
              file).
tv42 added a commit that referenced this issue Dec 10, 2022
Skipping support for FUSE_LSEEK for now, tracked at
<#290>.
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

No branches or pull requests

1 participant