OSDN Git Service

mke2fs: throttle progress updates to once a second
authorTheodore Ts'o <tytso@mit.edu>
Fri, 14 Sep 2012 04:11:07 +0000 (00:11 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 14 Sep 2012 04:11:07 +0000 (00:11 -0400)
commit03237de00aa4fc0ac5910524c00aaef3db369e0d
treef52bcf413c20d67e51847831436a1876f6c2b7e6
parent2d8c0c8a4fd99d79caa45afba1462dd5ae0f1e45
mke2fs: throttle progress updates to once a second

With lazy itable initialization, the progress updates for writing the
inode table happens so quickly that on a serial console, the time to
write the progress updates can be the bottleneck.  Fix this by only
updating the progress indicator once a second.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/mke2fs.c