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 O_DIRECT option in FileCache (and possibly in MultiprocessFileCache) #214

Closed
kuenishi opened this issue Sep 29, 2021 · 2 comments
Closed
Labels
cat:enhancement Implementation that does not break interfaces. wontfix This will not be worked on

Comments

@kuenishi
Copy link
Member

No description provided.

@kuenishi kuenishi added the cat:enhancement Implementation that does not break interfaces. label Sep 29, 2021
@kuenishi kuenishi added this to the 2.0.0 milestone Sep 29, 2021
@kuenishi kuenishi added the wontfix This will not be worked on label Sep 29, 2021
@kuenishi kuenishi removed this from the 2.0.0 milestone Sep 29, 2021
@kuenishi
Copy link
Member Author

From open(2),

   O_DIRECT
       The O_DIRECT flag may impose alignment restrictions on the length and address of user-space buffers and the file offset of I/Os.  In Linux alignment
       restrictions vary by filesystem and kernel version and might be absent entirely.  However there is currently no filesystem-independent interface for
       an application to discover these restrictions for a given file or filesystem.  Some filesystems provide their own interfaces for doing so, for exam‐
       ple the XFS_IOC_DIOINFO operation in xfsctl(3).

@kuenishi
Copy link
Member Author

Discussion on OpenZFS is really interesting and worth referring from here. openzfs/zfs#224 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat:enhancement Implementation that does not break interfaces. wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant