File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -186,10 +186,11 @@ class S3FileIoOptions:
186186 """
187187 Enable direct IO to bypass the OS cache. Helpful when the disk I/O outperforms the kernel cache.
188188
189+ - Currently only Linux supports direct I/O. On unsupported platforms, the request transparently
190+ falls back to buffered I/O and a warning is logged.
191+ - Supported for both upload (send_filepath) and download (recv_filepath).
189192 - This is a BEST-EFFORT optimization. The request transparently falls back to
190- buffered I/O (logging a warning) on unsupported platforms or when alignment
191- preconditions are not met (part_size not page-aligned, last part has unaligned
192- length, etc).
193+ buffered I/O (logging a warning) when direct io write fails.
193194 - Check NOTES for O_DIRECT for additional info https://man7.org/linux/man-pages/man2/openat.2.html
194195
195196 In summary, O_DIRECT is a potentially powerful tool that should be used with caution.
You can’t perform that action at this time.
0 commit comments