optimization use small blocks up to 64KB (#17107)

This commit is contained in:
Klaus Post
2023-05-01 09:47:49 -07:00
committed by GitHub
parent b963f69f34
commit e8c0a50862
5 changed files with 52 additions and 10 deletions

View File

@@ -24,6 +24,9 @@ import (
"os"
)
// ODirectPlatform indicates if the platform supports O_DIRECT
const ODirectPlatform = false
// OpenBSD, Windows, and illumos do not support O_DIRECT.
// On Windows there is no documentation on disabling O_DIRECT.
// For these systems we do not attempt to build the 'directio' dependency since