summaryrefslogtreecommitdiff
path: root/ccache.h
diff options
context:
space:
mode:
authorMikhail Kolomeytsev <mkolom@yandex-team.ru>2016-04-03 01:54:01 +0600
committerJoel Rosdahl <joel@rosdahl.net>2016-07-30 15:24:16 +0200
commitf731bd4a9f528cb3b260bb47297386a1f184b2ea (patch)
tree85d577d795dc1c12d72bff7d555013bfd155cd4f /ccache.h
parent05f638945942bd03a3de30bdafefecb9988d575e (diff)
downloadccache-f731bd4a9f528cb3b260bb47297386a1f184b2ea.tar.gz
Increase buffer size for IO operations.
https://lists.samba.org/archive/ccache/2016q2/001429.html
Diffstat (limited to 'ccache.h')
-rw-r--r--ccache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ccache.h b/ccache.h
index f0839b3d..9194f233 100644
--- a/ccache.h
+++ b/ccache.h
@@ -75,6 +75,9 @@ enum stats {
(strlen(s) >= strlen(suffix) \
&& str_eq((s) + strlen(s) - strlen(suffix), (suffix)))
+/* buffer size for IO operations */
+#define READ_BUF_SZ (1<<18)
+
// ----------------------------------------------------------------------------
// args.c