diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-12-20 12:13:26 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-12-20 12:13:26 +0000 |
commit | fc8cddfcc4ac0dd6ad41a66a2834beb6fb1bb742 (patch) | |
tree | 0d8d8976553f9327d476923fdbd2855f85f58fc2 | |
parent | 27761dab75de90158b5eedc7b01207a61a3c31f6 (diff) | |
download | seivot-fc8cddfcc4ac0dd6ad41a66a2834beb6fb1bb742.tar.gz |
make fsck benchmarking be optional
-rw-r--r-- | NEWS | 6 | ||||
-rwxr-xr-x | seivot | 8 |
2 files changed, 12 insertions, 2 deletions
@@ -1,6 +1,12 @@ NEWS for seivot, a backup benchmarking program ============================================== +Version 1.16, released UNRELEASED +--------------------------------- + +* Benchmarking of fsck is now optional, because fsck is so bloody slow + in Obnam. + Version 1.15, released 2011-12-18 --------------------------------- @@ -391,6 +391,8 @@ class Seivot(cliapp.Application): 'all SFTP transfers') self.settings.boolean(['verify'], 'verify restored data') + + self.settings.boolean(['benchmark-fsck'], 'benchmark fsck?') self.settings.string(['obnam-config'], 'use FILE as an Obnam configuration file', @@ -435,7 +437,8 @@ class Seivot(cliapp.Application): if self.settings['verify']: self.summain(self.live_data, 'backup-0.summain') self.measure(prog.backup, 0, amount) - self.measure(prog.fsck, 0, amount) + if self.settings['benchmark-fsck']: + self.measure(prog.fsck, 0, amount) self.measure(prog.verify, 0, amount) for i in range(1, generations): @@ -444,7 +447,8 @@ class Seivot(cliapp.Application): if self.settings['verify']: self.summain(self.live_data, 'backup-%d.summain' % i) self.measure(prog.backup, i, self.settings['incremental-data']) - self.measure(prog.fsck, i, self.settings['incremental-data']) + if self.settings['benchmark-fsck']: + self.measure(prog.fsck, i, self.settings['incremental-data']) self.measure(prog.verify, i, self.settings['incremental-data']) for i in range(generations): |