[PATCH 2/5] ramfs: increase chunk size to 4 kbyte
Sascha Hauer
s.hauer at pengutronix.de
Tue Mar 8 06:39:42 EST 2011
This greatly increases speed on ramfs.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
fs/ramfs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/ramfs.c b/fs/ramfs.c
index 6222550..91001f1 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;
--
1.7.2.3
More information about the barebox
mailing list