summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2005-11-21 23:30:16 +0000
committerPeter Jones <pjones@redhat.com>2005-11-21 23:30:16 +0000
commitdf965d9b908205a2c066820bb7dd2ceade90cac0 (patch)
tree47e0347184cfaa0d158ed40496c7c8d338b2fd12 /fsset.py
parent60cc1477426b5d3a203c1ed6ce4915ca30f0be25 (diff)
downloadanaconda-df965d9b908205a2c066820bb7dd2ceade90cac0.tar.gz
anaconda-df965d9b908205a2c066820bb7dd2ceade90cac0.tar.xz
anaconda-df965d9b908205a2c066820bb7dd2ceade90cac0.zip
kill 11% mke2fs stall
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/fsset.py b/fsset.py
index 726ed5753..8d5cad695 100644
--- a/fsset.py
+++ b/fsset.py
@@ -2613,7 +2613,6 @@ def ext2FormatFilesystem(argList, messageFile, windowCreator, mntpoint):
os.write(fd, s)
num = ''
- sync = 0
while s:
try:
s = os.read(p[0], 1)
@@ -2633,10 +2632,6 @@ def ext2FormatFilesystem(argList, messageFile, windowCreator, mntpoint):
pass
else:
w and w.set(val)
- # sync every 10%
- if sync + 10 < val:
- isys.sync()
- sync = val
num = ''
except OSError, args:
(errno, str) = args