mirror of
https://github.com/minio/minio.git
synced 2025-11-10 14:09:48 -05:00
Fix posix tests for SimpleCI (#7328)
This commit is contained in:
@@ -29,12 +29,14 @@ import (
|
||||
)
|
||||
|
||||
// file size for performance read and write checks
|
||||
const randBufSize = 1 * humanize.KiByte
|
||||
const randParts = 1024
|
||||
const fileSize = randParts * randBufSize
|
||||
const (
|
||||
randBufSize = 1 * humanize.KiByte
|
||||
randParts = 1024
|
||||
fileSize = randParts * randBufSize
|
||||
|
||||
// Total count of read / write iteration for performance measurement
|
||||
const iterations = 10
|
||||
// Total count of read / write iteration for performance measurement
|
||||
iterations = 10
|
||||
)
|
||||
|
||||
// Info stat fs struct is container which holds following values
|
||||
// Total - total size of the volume / disk
|
||||
|
||||
@@ -20,7 +20,7 @@ package disk
|
||||
|
||||
import "strconv"
|
||||
|
||||
// fsType2StringMap - list of filesystems supported by donut on linux
|
||||
// fsType2StringMap - list of filesystems supported on linux
|
||||
var fsType2StringMap = map[string]string{
|
||||
"1021994": "TMPFS",
|
||||
"137d": "EXT",
|
||||
@@ -34,6 +34,9 @@ var fsType2StringMap = map[string]string{
|
||||
"ef51": "EXT2OLD",
|
||||
"ef53": "EXT4",
|
||||
"f15f": "ecryptfs",
|
||||
"794c7630": "overlayfs",
|
||||
"2fc12fc1": "zfs",
|
||||
"ff534d42": "cifs",
|
||||
}
|
||||
|
||||
// getFSType returns the filesystem type of the underlying mounted filesystem
|
||||
|
||||
Reference in New Issue
Block a user