From patchwork Fri Aug 28 11:12:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Beno=C3=AEt_Th=C3=A9baudeau?= X-Patchwork-Id: 511861 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 1CB2D1401AB for ; Fri, 28 Aug 2015 21:13:04 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id CBCA9959C6; Fri, 28 Aug 2015 11:13:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IjG2OSakFQsV; Fri, 28 Aug 2015 11:13:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 3A741959B8; Fri, 28 Aug 2015 11:13:01 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id BADF21BFD7E for ; Fri, 28 Aug 2015 11:12:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B58B1A4608 for ; Fri, 28 Aug 2015 11:12:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9aNYJjlf8jbJ for ; Fri, 28 Aug 2015 11:12:58 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from authsmtp.register.it (authsmtp77.register.it [195.110.122.162]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2F04BA45FF for ; Fri, 28 Aug 2015 11:12:57 +0000 (UTC) Received: from rad-ubuntu.home ([2.1.45.99]) by paganini33 with id ABCs1r00n28PCii01BCv5o; Fri, 28 Aug 2015 13:12:55 +0200 X-Rid: benoit@wsystem.com@2.1.45.99 From: =?UTF-8?q?Beno=C3=AEt=20Th=C3=A9baudeau?= To: buildroot@buildroot.org Date: Fri, 28 Aug 2015 13:12:50 +0200 Message-Id: <1440760370-61713-1-git-send-email-benoit@wsystem.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Cc: =?UTF-8?q?Beno=C3=AEt=20Th=C3=A9baudeau?= Subject: [Buildroot] [PATCH] package/mke2img: set sparse_super for revision 1 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The sparse_super feature is more efficient in terms of speed and available space, so set it by default if supported, i.e. for revision 1. This gives a huge speed gain for large resize2fs operations, especially for expansion. Signed-off-by: Benoît Thébaudeau Acked-by: "Yann E. MORIN" --- package/mke2img/mke2img | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/mke2img/mke2img b/package/mke2img/mke2img index 5e2f62f..806cb1f 100755 --- a/package/mke2img/mke2img +++ b/package/mke2img/mke2img @@ -76,7 +76,7 @@ main() { # Upgrade to rev1 if needed if [ ${rev} -ge 1 ]; then - tune2fs_O_opts+=",filetype" + tune2fs_O_opts+=",filetype,sparse_super" fi # Add a journal for ext3 and above