From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 2/5] ramfs: increase chunk size to 4 kbyte
Date: Tue, 8 Mar 2011 12:39:42 +0100 [thread overview]
Message-ID: <1299584385-6016-3-git-send-email-s.hauer@pengutronix.de> (raw)
In-Reply-To: <1299584385-6016-1-git-send-email-s.hauer@pengutronix.de>
This greatly increases speed on ramfs.
Signed-off-by: Sascha Hauer <s.hauer@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
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2011-03-08 11:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-08 11:39 assorted patches Sascha Hauer
2011-03-08 11:39 ` [PATCH 1/5] ARM scb9328: Add gpio led support Sascha Hauer
2011-03-08 11:39 ` Sascha Hauer [this message]
2011-03-08 11:39 ` [PATCH 3/5] mfd/mc13892: Add missing semicolons Sascha Hauer
2011-03-08 11:39 ` [PATCH 4/5] module: CONFIG_COMMAND does not exist anymore, remove ifdefs Sascha Hauer
2011-03-08 11:39 ` [PATCH 5/5] trigger command: fix printf format Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1299584385-6016-3-git-send-email-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox