优化高速硬盘下的缓存

This commit is contained in:
刘祥超
2023-08-04 16:32:15 +08:00
parent cc881c070c
commit 0f0436c7a8
2 changed files with 5 additions and 1 deletions

View File

@@ -66,6 +66,10 @@ func DiskIsFast() bool {
return DiskSpeed == SpeedExtremelyFast || DiskSpeed == SpeedFast
}
func DiskIsExtremelyFast() bool {
return DiskSpeed == SpeedExtremelyFast
}
var countWrites int32 = 0
func WriteReady() bool {