Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/mke2img: set sparse_super for revision 1
@ 2015-08-28 11:12 Benoît Thébaudeau
  2015-12-01 22:31 ` Yann E. MORIN
  2015-12-29 21:03 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Benoît Thébaudeau @ 2015-08-28 11:12 UTC (permalink / raw)
  To: 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 <benoit@wsystem.com>
---
 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
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] package/mke2img: set sparse_super for revision 1
  2015-08-28 11:12 [Buildroot] [PATCH] package/mke2img: set sparse_super for revision 1 Benoît Thébaudeau
@ 2015-12-01 22:31 ` Yann E. MORIN
  2015-12-29 21:03 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2015-12-01 22:31 UTC (permalink / raw)
  To: buildroot

Beno?t, All,

On 2015-08-28 13:12 +0200, Beno?t Th?baudeau spake thusly:
> 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 <benoit@wsystem.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
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
> -- 
> 2.1.4
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] package/mke2img: set sparse_super for revision 1
  2015-08-28 11:12 [Buildroot] [PATCH] package/mke2img: set sparse_super for revision 1 Benoît Thébaudeau
  2015-12-01 22:31 ` Yann E. MORIN
@ 2015-12-29 21:03 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2015-12-29 21:03 UTC (permalink / raw)
  To: buildroot

>>>>> "Beno?t" == Beno?t Th?baudeau <benoit@wsystem.com> writes:

> 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 <benoit@wsystem.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-29 21:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-28 11:12 [Buildroot] [PATCH] package/mke2img: set sparse_super for revision 1 Benoît Thébaudeau
2015-12-01 22:31 ` Yann E. MORIN
2015-12-29 21:03 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox