-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Filebeat - Support using O_DIRECT when reading files #3501
Comments
+1 on this and using a config option for it. Someone even create a "library" around this: https://github.com/ncw/directio But we should definitively have our own implementation. |
Hi! |
I'd say that library would be fine to use. It says
Filebeat is used by people on openbsd so I'd take care to make the O_DIRECT config option not available on that system. |
@andrewkroh I tried to exclude DIRECT_O on OpenBSD and Plan9 but I am not sure that did it right. Thank you for your participation! |
… for all systems except OpenBSD and Plan9 (elastic#3501)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue doesn't have a |
When reading files over NFS it would be useful to be able to use the
O_DIRECT
flag when opening the file for reading due to file cache coherency issues that can occur. Ideally this would be a config option that can be specified for a specific prospector/harvester. The config option would be supported only on platforms where we have the ability to use the O_DIRECT flag.From: http://nfs.sourceforge.net/#section_a
From: https://access.redhat.com/solutions/22717
Other References
The text was updated successfully, but these errors were encountered: