From patchwork Wed Oct 30 16:47:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dinar Valeev X-Patchwork-Id: 287292 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id C691A2C03CA for ; Thu, 31 Oct 2013 03:48:25 +1100 (EST) Received: from mail-ee0-x229.google.com (mail-ee0-x229.google.com [IPv6:2a00:1450:4013:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 272792C03C9 for ; Thu, 31 Oct 2013 03:48:20 +1100 (EST) Received: by mail-ee0-f41.google.com with SMTP id e53so796249eek.14 for ; Wed, 30 Oct 2013 09:48:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=5lOQLLGd/KVpY/526Ga2sLm+325eQoc5q/9KI/Qdmzc=; b=bTAON6IDPF2Xpe/gxAjKkv7nesnvvbctGO/xS6X2Yt6X2KiDplX68mOWYihpdB5eui wzq7yHbOqq4tkGKs3VDmO4WiCCedL8gqLxkjdHa3/Oz7PExpbVTOSRMzANAa9eznJHH6 Zw4hC8jtrWTNEJSvpBNJSiRRXdqNr7JsOCURSys21jd0KDl0w9n37hWU7eP8K/HECCBk jWOujwteWNEQ0454ozaMknIPQGxk03KsevyoyroAEjlNIpAaxmmmuyUOufWmTLRqPViB vFyOzrw1GeRJRWnm/9F71h4M5T3yE+eryK9FUFXlNUI9XLO6wRDIkrnOoWS6enWkuNVf nNIw== X-Received: by 10.14.241.74 with SMTP id f50mr5965632eer.29.1383151697102; Wed, 30 Oct 2013 09:48:17 -0700 (PDT) Received: from petersburg.suse.cz (nat.scz.novell.com. [213.151.88.252]) by mx.google.com with ESMTPSA id a6sm85520598eei.10.2013.10.30.09.48.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Oct 2013 09:48:16 -0700 (PDT) From: Dinar valeev To: yaboot-devel@lists.ozlabs.org Subject: [PATCH 2/2] Increase LOAD_BUFFER to 64MB Date: Wed, 30 Oct 2013 17:47:33 +0100 Message-Id: <1383151653-7494-2-git-send-email-k0da@opensuse.org> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1383151653-7494-1-git-send-email-k0da@opensuse.org> References: <1383151653-7494-1-git-send-email-k0da@opensuse.org> Cc: Dinar Valeev X-BeenThere: yaboot-devel@lists.ozlabs.org X-Mailman-Version: 2.1.16rc2 Precedence: list List-Id: Technical and development discussion regarding yaboot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: yaboot-devel-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Yaboot-devel" From: Dinar Valeev We have increased blocksize, we can load files up to 64MB. Lets increase BUFFER_SIZE Signed-off-by: Dinar Valeev --- second/fs_of.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);