summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorValerie Aurora Henson <vaurora@redhat.com>2009-08-23 19:20:03 -0400
committerTheodore Ts'o <tytso@mit.edu>2009-08-23 19:20:03 -0400
commit95fd65bb7fcf84e8d1e207f84b9d5a9f99626a38 (patch)
tree7fd5b72b0e33c50e972a8cb27218a6aded796373 /tests
parent732c8cd58ff30ffae0d3276c411a08920717a46c (diff)
downloade2fsprogs-95fd65bb7fcf84e8d1e207f84b9d5a9f99626a38.tar.gz
libext2fs: create generic numeric progress meters and use them
With 64-bit file systems, mke2fs can take a long time to do things other than write inode tables. I exported the mke2fs numeric progress meter and used it for allocating group tables and the final file system flush. Signed-off-by: Valerie Aurora (Henson) <vaurora@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tests')
-rw-r--r--tests/f_resize_inode/expect5
-rw-r--r--tests/m_dasd_bs/expect.15
-rw-r--r--tests/m_large_file/expect.15
-rw-r--r--tests/m_meta_bg/expect.15
-rw-r--r--tests/m_no_opt/expect.15
-rw-r--r--tests/m_raid_opt/expect.15
-rw-r--r--tests/m_std/expect.15
-rw-r--r--tests/m_uninit/expect.17
8 files changed, 25 insertions, 17 deletions
diff --git a/tests/f_resize_inode/expect b/tests/f_resize_inode/expect
index bd45575a..8844647d 100644
--- a/tests/f_resize_inode/expect
+++ b/tests/f_resize_inode/expect
@@ -13,8 +13,9 @@ Maximum filesystem blocks=8421376
Superblock backups stored on blocks:
1025, 3073, 5121, 7169, 9217
-Writing inode tables: 0/16 1/16 2/16 3/16 4/16 5/16 6/16 7/16 8/16 9/1610/1611/1612/1613/1614/1615/16done
-Writing superblocks and filesystem accounting information: done
+Allocating group tables: 0/16 1/16 2/16 3/16 4/16 5/16 6/16 7/16 8/16 9/1610/1611/1612/1613/1614/1615/16 done
+Writing inode tables: 0/16 1/16 2/16 3/16 4/16 5/16 6/16 7/16 8/16 9/1610/1611/1612/1613/1614/1615/16 done
+Writing superblocks and filesystem accounting information: 0/16 1/16 2/16 3/16 4/16 5/16 6/16 7/16 8/16 9/1610/1611/1612/1613/1614/1615/16 done
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
diff --git a/tests/m_dasd_bs/expect.1 b/tests/m_dasd_bs/expect.1
index 9bc8a856..a3b4465d 100644
--- a/tests/m_dasd_bs/expect.1
+++ b/tests/m_dasd_bs/expect.1
@@ -12,8 +12,9 @@ Maximum filesystem blocks=33554432
Superblock backups stored on blocks:
16384
-Writing inode tables: done
-Writing superblocks and filesystem accounting information: done
+Allocating group tables: 0/21/2 done
+Writing inode tables: 0/21/2 done
+Writing superblocks and filesystem accounting information: 0/21/2 done
Filesystem features: ext_attr resize_inode dir_index filetype sparse_super
diff --git a/tests/m_large_file/expect.1 b/tests/m_large_file/expect.1
index abf2d997..647e7af2 100644
--- a/tests/m_large_file/expect.1
+++ b/tests/m_large_file/expect.1
@@ -10,8 +10,9 @@ Maximum filesystem blocks=16777216
32768 blocks per group, 32768 fragments per group
64 inodes per group
-Writing inode tables: done
-Writing superblocks and filesystem accounting information: done
+Allocating group tables: 0/1 done
+Writing inode tables: 0/1 done
+Writing superblocks and filesystem accounting information: 0/1 done
Filesystem features: ext_attr resize_inode dir_index filetype sparse_super large_file
diff --git a/tests/m_meta_bg/expect.1 b/tests/m_meta_bg/expect.1
index d44be8cf..b33b5d3d 100644
--- a/tests/m_meta_bg/expect.1
+++ b/tests/m_meta_bg/expect.1
@@ -11,8 +11,9 @@ First data block=1
Superblock backups stored on blocks:
1025, 3073, 5121, 7169, 9217, 25601, 27649, 50177, 82945, 128001
-Writing inode tables: done
-Writing superblocks and filesystem accounting information: done
+Allocating group tables: 0/128 1/128 2/128 3/128 4/128 5/128 6/128 7/128 8/128 9/128 10/128 11/128 12/128 13/128 14/128 15/128 16/128 17/128 18/128 19/128 20/128 21/128 22/128 23/128 24/128 25/128 26/128 27/128 28/128 29/128 30/128 31/128 32/128 33/128 34/128 35/128 36/128 37/128 38/128 39/128 40/128 41/128 42/128 43/128 44/128 45/128 46/128 47/128 48/128 49/128 50/128 51/128 52/128 53/128 54/128 55/128 56/128 57/128 58/128 59/128 60/128 61/128 62/128 63/128 64/128 65/128 66/128 67/128 68/128 69/128 70/128 71/128 72/128 73/128 74/128 75/128 76/128 77/128 78/128 79/128 80/128 81/128 82/128 83/128 84/128 85/128 86/128 87/128 88/128 89/128 90/128 91/128 92/128 93/128 94/128 95/128 96/128 97/128 98/128 99/128100/128101/128102/128103/128104/128105/128106/128107/128108/128109/128110/128111/128112/128113/128114/128115/128116/128117/128118/128119/128120/128121/128122/128123/128124/128125/128126/128127/128 done
+Writing inode tables: 0/128 1/128 2/128 3/128 4/128 5/128 6/128 7/128 8/128 9/128 10/128 11/128 12/128 13/128 14/128 15/128 16/128 17/128 18/128 19/128 20/128 21/128 22/128 23/128 24/128 25/128 26/128 27/128 28/128 29/128 30/128 31/128 32/128 33/128 34/128 35/128 36/128 37/128 38/128 39/128 40/128 41/128 42/128 43/128 44/128 45/128 46/128 47/128 48/128 49/128 50/128 51/128 52/128 53/128 54/128 55/128 56/128 57/128 58/128 59/128 60/128 61/128 62/128 63/128 64/128 65/128 66/128 67/128 68/128 69/128 70/128 71/128 72/128 73/128 74/128 75/128 76/128 77/128 78/128 79/128 80/128 81/128 82/128 83/128 84/128 85/128 86/128 87/128 88/128 89/128 90/128 91/128 92/128 93/128 94/128 95/128 96/128 97/128 98/128 99/128100/128101/128102/128103/128104/128105/128106/128107/128108/128109/128110/128111/128112/128113/128114/128115/128116/128117/128118/128119/128120/128121/128122/128123/128124/128125/128126/128127/128 done
+Writing superblocks and filesystem accounting information: 0/128 1/128 2/128 3/128 4/128 5/128 6/128 7/128 8/128 9/128 10/128 11/128 12/128 13/128 14/128 15/128 16/128 17/128 18/128 19/128 20/128 21/128 22/128 23/128 24/128 25/128 26/128 27/128 28/128 29/128 30/128 31/128 32/128 33/128 34/128 35/128 36/128 37/128 38/128 39/128 40/128 41/128 42/128 43/128 44/128 45/128 46/128 47/128 48/128 49/128 50/128 51/128 52/128 53/128 54/128 55/128 56/128 57/128 58/128 59/128 60/128 61/128 62/128 63/128 64/128 65/128 66/128 67/128 68/128 69/128 70/128 71/128 72/128 73/128 74/128 75/128 76/128 77/128 78/128 79/128 80/128 81/128 82/128 83/128 84/128 85/128 86/128 87/128 88/128 89/128 90/128 91/128 92/128 93/128 94/128 95/128 96/128 97/128 98/128 99/128100/128101/128102/128103/128104/128105/128106/128107/128108/128109/128110/128111/128112/128113/128114/128115/128116/128117/128118/128119/128120/128121/128122/128123/128124/128125/128126/128127/128 done
Filesystem features: ext_attr dir_index filetype meta_bg sparse_super
diff --git a/tests/m_no_opt/expect.1 b/tests/m_no_opt/expect.1
index faa565d8..949f0d22 100644
--- a/tests/m_no_opt/expect.1
+++ b/tests/m_no_opt/expect.1
@@ -11,8 +11,9 @@ First data block=1
Superblock backups stored on blocks:
8193, 16385, 24577, 32769, 40961, 49153, 57345
-Writing inode tables: done
-Writing superblocks and filesystem accounting information: done
+Allocating group tables: 0/81/82/83/84/85/86/87/8 done
+Writing inode tables: 0/81/82/83/84/85/86/87/8 done
+Writing superblocks and filesystem accounting information: 0/81/82/83/84/85/86/87/8 done
Filesystem features:(none)
diff --git a/tests/m_raid_opt/expect.1 b/tests/m_raid_opt/expect.1
index 181534d8..17b4d5d2 100644
--- a/tests/m_raid_opt/expect.1
+++ b/tests/m_raid_opt/expect.1
@@ -12,8 +12,9 @@ Maximum filesystem blocks=8519680
Superblock backups stored on blocks:
1025, 3073, 5121, 7169, 9217, 25601, 27649, 50177, 82945, 128001
-Writing inode tables: done
-Writing superblocks and filesystem accounting information: done
+Allocating group tables: 0/128 1/128 2/128 3/128 4/128 5/128 6/128 7/128 8/128 9/128 10/128 11/128 12/128 13/128 14/128 15/128 16/128 17/128 18/128 19/128 20/128 21/128 22/128 23/128 24/128 25/128 26/128 27/128 28/128 29/128 30/128 31/128 32/128 33/128 34/128 35/128 36/128 37/128 38/128 39/128 40/128 41/128 42/128 43/128 44/128 45/128 46/128 47/128 48/128 49/128 50/128 51/128 52/128 53/128 54/128 55/128 56/128 57/128 58/128 59/128 60/128 61/128 62/128 63/128 64/128 65/128 66/128 67/128 68/128 69/128 70/128 71/128 72/128 73/128 74/128 75/128 76/128 77/128 78/128 79/128 80/128 81/128 82/128 83/128 84/128 85/128 86/128 87/128 88/128 89/128 90/128 91/128 92/128 93/128 94/128 95/128 96/128 97/128 98/128 99/128100/128101/128102/128103/128104/128105/128106/128107/128108/128109/128110/128111/128112/128113/128114/128115/128116/128117/128118/128119/128120/128121/128122/128123/128124/128125/128126/128127/128 done
+Writing inode tables: 0/128 1/128 2/128 3/128 4/128 5/128 6/128 7/128 8/128 9/128 10/128 11/128 12/128 13/128 14/128 15/128 16/128 17/128 18/128 19/128 20/128 21/128 22/128 23/128 24/128 25/128 26/128 27/128 28/128 29/128 30/128 31/128 32/128 33/128 34/128 35/128 36/128 37/128 38/128 39/128 40/128 41/128 42/128 43/128 44/128 45/128 46/128 47/128 48/128 49/128 50/128 51/128 52/128 53/128 54/128 55/128 56/128 57/128 58/128 59/128 60/128 61/128 62/128 63/128 64/128 65/128 66/128 67/128 68/128 69/128 70/128 71/128 72/128 73/128 74/128 75/128 76/128 77/128 78/128 79/128 80/128 81/128 82/128 83/128 84/128 85/128 86/128 87/128 88/128 89/128 90/128 91/128 92/128 93/128 94/128 95/128 96/128 97/128 98/128 99/128100/128101/128102/128103/128104/128105/128106/128107/128108/128109/128110/128111/128112/128113/128114/128115/128116/128117/128118/128119/128120/128121/128122/128123/128124/128125/128126/128127/128 done
+Writing superblocks and filesystem accounting information: 0/128 1/128 2/128 3/128 4/128 5/128 6/128 7/128 8/128 9/128 10/128 11/128 12/128 13/128 14/128 15/128 16/128 17/128 18/128 19/128 20/128 21/128 22/128 23/128 24/128 25/128 26/128 27/128 28/128 29/128 30/128 31/128 32/128 33/128 34/128 35/128 36/128 37/128 38/128 39/128 40/128 41/128 42/128 43/128 44/128 45/128 46/128 47/128 48/128 49/128 50/128 51/128 52/128 53/128 54/128 55/128 56/128 57/128 58/128 59/128 60/128 61/128 62/128 63/128 64/128 65/128 66/128 67/128 68/128 69/128 70/128 71/128 72/128 73/128 74/128 75/128 76/128 77/128 78/128 79/128 80/128 81/128 82/128 83/128 84/128 85/128 86/128 87/128 88/128 89/128 90/128 91/128 92/128 93/128 94/128 95/128 96/128 97/128 98/128 99/128100/128101/128102/128103/128104/128105/128106/128107/128108/128109/128110/128111/128112/128113/128114/128115/128116/128117/128118/128119/128120/128121/128122/128123/128124/128125/128126/128127/128 done
Filesystem features: ext_attr resize_inode dir_index filetype sparse_super
diff --git a/tests/m_std/expect.1 b/tests/m_std/expect.1
index 44835785..c04ed57c 100644
--- a/tests/m_std/expect.1
+++ b/tests/m_std/expect.1
@@ -12,8 +12,9 @@ Maximum filesystem blocks=67108864
Superblock backups stored on blocks:
8193, 24577, 40961, 57345
-Writing inode tables: done
-Writing superblocks and filesystem accounting information: done
+Allocating group tables: 0/81/82/83/84/85/86/87/8 done
+Writing inode tables: 0/81/82/83/84/85/86/87/8 done
+Writing superblocks and filesystem accounting information: 0/81/82/83/84/85/86/87/8 done
Filesystem features: ext_attr resize_inode dir_index filetype sparse_super
diff --git a/tests/m_uninit/expect.1 b/tests/m_uninit/expect.1
index 67cd33db..fe98b2d8 100644
--- a/tests/m_uninit/expect.1
+++ b/tests/m_uninit/expect.1
@@ -12,10 +12,11 @@ Maximum filesystem blocks=67371008
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729
-Writing inode tables: done
-Writing superblocks and filesystem accounting information: done
+Allocating group tables: 0/16 1/16 2/16 3/16 4/16 5/16 6/16 7/16 8/16 9/1610/1611/1612/1613/1614/1615/16 done
+Writing inode tables: 0/16 1/16 2/16 3/16 4/16 5/16 6/16 7/16 8/16 9/1610/1611/1612/1613/1614/1615/16 done
+Writing superblocks and filesystem accounting information: 0/16 1/16 2/16 3/16 4/16 5/16 6/16 7/16 8/16 9/1610/1611/1612/1613/1614/1615/16 done
-Filesystem features: ext_attr resize_inode dir_index filetype sparse_super uninit_bg
+ 0/16 1/16 2/16 3/16 4/16 5/16 6/16 7/16 8/16 9/1610/1611/1612/1613/1614/1615/16 Filesystem features: ext_attr resize_inode dir_index filetype sparse_super uninit_bg
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure