mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 06:00:24 +03:00
posix: Use sync.Pool buffers to copy in large buffers. (#3106)
These fixes are borrowed from the fixes required for GlusterFS i/o throughput.
This commit is contained in:
@@ -36,7 +36,7 @@ func TestUNCPaths(t *testing.T) {
|
||||
{string(bytes.Repeat([]byte("界"), 85)), true},
|
||||
// Each path component must be <= 255 bytes long.
|
||||
{string(bytes.Repeat([]byte("界"), 100)), false},
|
||||
{`\\p\q\r\s\t`, true},
|
||||
{`/p/q/r/s/t`, true},
|
||||
}
|
||||
// Instantiate posix object to manage a disk
|
||||
var err error
|
||||
|
||||
Reference in New Issue
Block a user