Patchwork [2/2] Increase LOAD_BUFFER to 64MB

login
register
mail settings
Submitter Dinar Valeev
Date Oct. 30, 2013, 4:47 p.m.
Message ID <1383151653-7494-2-git-send-email-k0da@opensuse.org>
Download mbox | patch
Permalink /patch/287292/
State New
Headers show

Comments

Dinar Valeev - Oct. 30, 2013, 4:47 p.m.
From: Dinar Valeev <dvaleev@suse.com>

We have increased blocksize, we can load files up to 64MB. Lets increase
BUFFER_SIZE

Signed-off-by: Dinar Valeev <dvaleev@suse.com>
---
 second/fs_of.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/second/fs_of.c b/second/fs_of.c
index 699c0ba..a91940b 100644
--- a/second/fs_of.c
+++ b/second/fs_of.c
@@ -44,7 +44,7 @@ 
 #include "errors.h"
 #include "debug.h"
 
-#define LOAD_BUFFER_SIZE	0x2000000
+#define LOAD_BUFFER_SIZE	0x4000000
 
 static int of_open(struct boot_file_t* file,
 		   struct partition_t* part, struct boot_fspec_t* fspec);