Skip to content

Commit

Permalink
Update documented O_DIRECT behavior
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Carl Jones <[email protected]>
  • Loading branch information
dannycjones committed Nov 17, 2023
1 parent 6778fbd commit 0642c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/CONFIGURATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ such as adjusting the metadata time-to-live (TTL) or the maximum space allowed t
Review the caching options available using `mount-s3 --help`.

To avoid using the cache, an application can use the `O_DIRECT` option (or language equivalent) when opening a file for reading.
When this option is provided, Mountpoint will check for the latest object in S3 and read object content from S3 rather than cached data.
When this option is provided, Mountpoint will check S3 when opening the file to ensure the latest object content is returned to the application.

> [!WARNING]
> Caching relaxes the strong read-after-write consistency offered by Amazon S3 and Mountpoint in its default configuration.
Expand Down

0 comments on commit 0642c2d

Please sign in to comment.