Author: locilka Date: Mon Jan 25 16:41:55 2010 New Revision: 60513 URL: http://svn.opensuse.org/viewcvs/yast?rev=60513&view=rev Log: - Fixed low speed of automatic backup (BNC #568615). - 2.17.8 Modified: branches/SuSE-Code-11-SP1-Branch/backup/VERSION branches/SuSE-Code-11-SP1-Branch/backup/package/yast2-backup.changes branches/SuSE-Code-11-SP1-Branch/backup/src/ui.ycp Modified: branches/SuSE-Code-11-SP1-Branch/backup/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/backup/VERSION?rev=60513&r1=60512&r2=60513&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/backup/VERSION (original) +++ branches/SuSE-Code-11-SP1-Branch/backup/VERSION Mon Jan 25 16:41:55 2010 @@ -1 +1 @@ -2.17.7 +2.17.8 Modified: branches/SuSE-Code-11-SP1-Branch/backup/package/yast2-backup.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/backup/package/yast2-backup.changes?rev=60513&r1=60512&r2=60513&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/backup/package/yast2-backup.changes (original) +++ branches/SuSE-Code-11-SP1-Branch/backup/package/yast2-backup.changes Mon Jan 25 16:41:55 2010 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Jan 25 16:36:47 CET 2010 - locilka@suse.cz + +- Fixed low speed of automatic backup (BNC #568615). +- 2.17.8 + +------------------------------------------------------------------- Mon Dec 7 11:27:04 CET 2009 - locilka@suse.cz - Fixed RPM dependencies Modified: branches/SuSE-Code-11-SP1-Branch/backup/src/ui.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/backup/src/ui.ycp?rev=60513&r1=60512&r2=60513&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/backup/src/ui.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/backup/src/ui.ycp Mon Jan 25 16:41:55 2010 @@ -181,7 +181,7 @@ if ((boolean) SCR::Read (.process.running, backup_PID)) { - sleep(wait); + if ((boolean) SCR::Read (.process.buffer_empty, backup_PID) == true) sleep(wait); ret = (symbol) UI::PollInput(); @@ -1956,7 +1956,8 @@ } if (Backup::cron_mode) { - sleep(wait_time); + // BNC #568615: yast2 backup takes much longer when scheduled + if ((boolean) SCR::Read (.process.buffer_empty, backup_PID) == true) sleep(wait_time); ret = nil; } else { @@ -2073,7 +2074,8 @@ if (Backup::cron_mode == true) { - sleep(wait_time); + // BNC #568615: yast2 backup takes much longer when scheduled + if ((boolean) SCR::Read (.process.buffer_empty, backup_PID) == true) sleep(wait_time); ret = nil; } @@ -2826,7 +2828,7 @@ if (Backup::cron_mode) { ret = nil; - sleep(wait_time); + if ((boolean) SCR::Read (.process.buffer_empty, backup_PID) == true) sleep(wait_time); CheckFreeSpace(); } else { ret = waitForUserOrProcess(wait_time, `changed); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org