enable small and large file optimization (#11260)

- for large objects we found that 1MiB block for
  r/w respectively.
- for small objects we found that 128KiB block for
  r/w respectively.
This commit is contained in:
Harshavardhana
2021-01-12 10:20:39 -08:00
committed by GitHub
parent e2579b1f5a
commit 1a5775e2e8
5 changed files with 50 additions and 35 deletions

View File

@@ -290,7 +290,7 @@ func TestGetObjectNoQuorum(t *testing.T) {
bucket := "bucket"
object := "object"
opts := ObjectOptions{}
buf := make([]byte, 33<<10)
buf := make([]byte, 129<<10)
if _, err = io.ReadFull(crand.Reader, buf); err != nil {
t.Fatal(err)
}