summaryrefslogtreecommitdiffstats
path: root/fs/ramfs.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-03-07 09:56:22 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-03-10 14:48:35 +0100
commitc28810e08fb4f96cc714d7d69a8eb01415c0ed5c (patch)
tree5d5d92bd8fa05e2c6dcd4683eb5651431d3f4a51 /fs/ramfs.c
parent006d8373cb29e573f545bae30ff5e8631df30222 (diff)
downloadbarebox-c28810e08fb4f96cc714d7d69a8eb01415c0ed5c.tar.gz
barebox-c28810e08fb4f96cc714d7d69a8eb01415c0ed5c.tar.xz
ramfs: increase chunk size to 4 kbyte
This greatly increases speed on ramfs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs/ramfs.c')
-rw-r--r--fs/ramfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ramfs.c b/fs/ramfs.c
index 62225504b5..91001f13c6 100644
--- a/fs/ramfs.c
+++ b/fs/ramfs.c
@@ -30,7 +30,7 @@
#include <linux/stat.h>
#include <xfuncs.h>
-#define CHUNK_SIZE 512
+#define CHUNK_SIZE 4096
struct ramfs_chunk {
char *data;