Skip to contentSkip to conversation

package/mke2img: set sparse_super for revision 1

PATCH New Benoît Thébaudeau 3 participants 3 messages Aug 28, 2015 – Dec 29, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/mke2img: set sparse_super for revision 1

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.

---
 package/mke2img/mke2img | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/mke2img/mke2img +1 -1
index 5e2f62f..806cb1f 100755
@@ -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
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 package/mke2img: set sparse_super for revision 1

Beno?t, All,

On 2015-08-28 13:12 +0200, Beno?t Th?baudeau spake thusly:

Quoted 7 lines

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.

Regards,
Yann E. MORIN.

Quoted 24 lines
---
 package/mke2img/mke2img | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/mke2img/mke2img +1 -1
index 5e2f62f..806cb1f 100755
@@ -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
Signature · 6 lines
2.1.4

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 package/mke2img: set sparse_super for revision 1

In reply to Benoît Thébaudeau
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Beno?t" == Beno?t Th?baudeau <[email protected]> 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.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard