Skip to content

open with directio at best effort#274

Merged
coocood merged 1 commit intopingcap:masterfrom
YangKeao:mock-directio
Dec 29, 2022
Merged

open with directio at best effort#274
coocood merged 1 commit intopingcap:masterfrom
YangKeao:mock-directio

Conversation

@YangKeao
Copy link
Member

Signed-off-by: YangKeao yangkeao@chunibyo.icu

If the file system doesn't support directio, just let it go without O_DIRECT. The most common case where direct io is not supported is the tmpfs, and it brings some pain for test.

@YangKeao YangKeao requested a review from coocood December 29, 2022 11:37
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
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

Successfully merging this pull request may close these issues.

2 participants