diff options
| author | Ian Lance Taylor <iant@golang.org> | 2018-06-29 14:38:56 -0700 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2018-07-06 22:39:14 +0000 |
| commit | 616da5da94aad1de2464e67e71d8eb1f4292f445 (patch) | |
| tree | 5682591bb755991dc4d4b71f42e609f4526ec6db /src/runtime/stack_test.go | |
| parent | 8d5fd871d79bd62b04bfadb3b7be0a896029e80c (diff) | |
| download | go-616da5da94aad1de2464e67e71d8eb1f4292f445.tar.xz | |
os: increase directory reading block size on Unix systems
Reportedly CIFS on RHEL 7 can fail to report files if directories are
read in 4K increments. While this seems to be a CIFS or RHEL bug,
reportedly CIFS does not return more than 5760 bytes in a block, so
reading in 8K increments should hide the problem from users with
minimal cost.
Fixes #24015
Change-Id: Iaf9f00ffe338d379c819ed9edcd4cc9834e3b0f7
Reviewed-on: https://go-review.googlesource.com/121756
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/stack_test.go')
0 files changed, 0 insertions, 0 deletions
