commit bonnie++ for openSUSE:Factory
Hello community, here is the log from the commit of package bonnie++ for openSUSE:Factory checked in at 2017-03-31 15:09:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bonnie++ (Old) and /work/SRC/openSUSE:Factory/.bonnie++.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "bonnie++" Fri Mar 31 15:09:04 2017 rev:23 rq:482551 version:1.97.3 Changes: -------- --- /work/SRC/openSUSE:Factory/bonnie++/bonnie++.changes 2016-11-14 20:16:04.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.bonnie++.new/bonnie++.changes 2017-03-31 15:09:34.687615726 +0200 @@ -1,0 +2,8 @@ +Fri Mar 24 17:02:08 UTC 2017 - mpluskal@suse.com + +- Update to version 1.97.3: + * man page fixes + * fixed symlink test + * CSS fix for bon_csv2html + +------------------------------------------------------------------- Old: ---- bonnie++-1.97.2.tgz New: ---- bonnie++-1.97.3.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bonnie++.spec ++++++ --- /var/tmp/diff_new_pack.zzitpu/_old 2017-03-31 15:09:35.195543915 +0200 +++ /var/tmp/diff_new_pack.zzitpu/_new 2017-03-31 15:09:35.199543349 +0200 @@ -1,7 +1,7 @@ # # spec file for package bonnie++ # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,16 +17,16 @@ Name: bonnie++ -Version: 1.97.2 +Version: 1.97.3 Release: 0 Summary: A Bonnie-Like File System Benchmark License: MIT Group: System/Benchmark Url: http://www.coker.com.au/bonnie++/ Source: http://www.coker.com.au/bonnie++/experimental/%{name}-%{version}.tgz -BuildRequires: gcc-c++ # PATCH-FIX-UPSTREAM bonnie++-1.96-makefile.patch -- fixes make install Patch0: bonnie++-1.96-makefile.patch +BuildRequires: gcc-c++ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ++++++ bonnie++-1.97.2.tgz -> bonnie++-1.97.3.tgz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bonnie++-1.97.2/Makefile new/bonnie++-1.97.3/Makefile --- old/bonnie++-1.97.2/Makefile 2016-06-30 11:41:09.000000000 +0200 +++ new/bonnie++-1.97.3/Makefile 2016-12-13 03:37:51.000000000 +0100 @@ -5,7 +5,7 @@ SCRIPTS=bon_csv2txt -prefix=/usr/local +prefix=/home/rjc/debian/bonnie++-1.97.3/debian/bonnie++/usr eprefix=${prefix} #MORE_WARNINGS=-Weffc++ WFLAGS=-Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self $(MORE_WARNINGS) @@ -58,9 +58,9 @@ ${INSTALL} $(SCRIPTS) $(eprefix)/bin install: install-bin - mkdir -p ${prefix}/share/man/man1 ${prefix}/share/man/man8 - ${INSTALL} -m 644 $(MAN1) ${prefix}/share/man/man1 - ${INSTALL} -m 644 $(MAN8) ${prefix}/share/man/man8 + mkdir -p /home/rjc/debian/bonnie++-1.97.3/debian/bonnie++/usr/share/man/man1 /home/rjc/debian/bonnie++-1.97.3/debian/bonnie++/usr/share/man/man8 + ${INSTALL} -m 644 $(MAN1) /home/rjc/debian/bonnie++-1.97.3/debian/bonnie++/usr/share/man/man1 + ${INSTALL} -m 644 $(MAN8) /home/rjc/debian/bonnie++-1.97.3/debian/bonnie++/usr/share/man/man8 %.o: %.cpp $(CXX) -c $< diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bonnie++-1.97.2/bon_csv2html.cpp new/bonnie++-1.97.3/bon_csv2html.cpp --- old/bonnie++-1.97.2/bon_csv2html.cpp 2012-11-23 09:22:33.000000000 +0100 +++ new/bonnie++-1.97.3/bon_csv2html.cpp 2016-12-13 03:37:51.000000000 +0100 @@ -383,9 +383,9 @@ "<html xmlns=\"http://www.w3.org/1999/xhtml\">" "<head><meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\" /><title>Bonnie++ Benchmark results</title>" "<style type=\"text/css\">" -"td.header {text-align: center; backgroundcolor: \"#CCFFFF\" }" -"td.rowheader {text-align: center; backgroundcolor: \"#CCCFFF\" }" -"td.size {text-align: center; backgroundcolor: \"#CCCFFF\" }" +"td.header {text-align: center; background-color: \"#CCFFFF\" }" +"td.rowheader {text-align: center; background-color: \"#CCCFFF\" }" +"td.size {text-align: center; background-color: \"#CCCFFF\" }" "td.ksec {text-align: center; fontstyle: italic }" "</style></head>" "<body>" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bonnie++-1.97.2/bon_file.cpp new/bonnie++-1.97.3/bon_file.cpp --- old/bonnie++-1.97.2/bon_file.cpp 2009-07-03 05:36:26.000000000 +0200 +++ new/bonnie++-1.97.3/bon_file.cpp 2016-12-13 03:37:51.000000000 +0100 @@ -208,7 +208,12 @@ } else { - if(symlink(original, filename)) + const char *name = strchr(original, '/'); + if(name) + name++; + else + name = original; + if(symlink(name, filename)) { fprintf(stderr, "Can't create symlink %s\n", filename); return -1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bonnie++-1.97.2/bonnie++.8 new/bonnie++-1.97.3/bonnie++.8 --- old/bonnie++-1.97.2/bonnie++.8 2012-11-23 08:43:18.000000000 +0100 +++ new/bonnie++-1.97.3/bonnie++.8 2016-12-13 03:37:51.000000000 +0100 @@ -4,7 +4,7 @@ .SH "SYNOPSIS" .B bonnie++ -.I [\-d dir] [\-s size(MiB)[:chunk\-size(b)]] +.I [\-d dir] [\-c concurrency] [\-s size(MiB)[:chunk\-size(b)]] .I [\-n number\-to\-stat(*1024)[:max\-size[:min\-size][:num\-directories[:chunk\-size]]]] .I [\-m machine\-name] [\-r ram\-size\-in\-MiB] [\-x number\-of\-tests] .I [\-u uid\-to\-use:gid\-to\-use] [\-g gid\-to\-use] @@ -21,7 +21,8 @@ which different applications use to different degrees. Bonnie++ tests some of them and for each test gives a result of the amount of work done per second and the percentage of CPU time this took. For performance results higher -numbers are better, for CPU usage lower are better (NB a configuration scoring +numbers are better, for CPU usage and latency lower are better (NB a +configuration scoring a performance result of 2000 and a CPU result of 90% is better in terms of CPU use than a configuration delivering performance of 1000 and CPU usage of 60%). .P @@ -41,6 +42,10 @@ .B \-d the directory to use for the tests. .TP +.B \-c +the level of concurrency (default 1). The number of copies of the test to be +performed at the same time. +.TP .B \-s the size of the file(s) for IO performance measures in megabytes. If the size is greater than 1G then multiple files will be used to store the data, and diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bonnie++-1.97.2/bonnie++.cpp new/bonnie++-1.97.3/bonnie++.cpp --- old/bonnie++-1.97.2/bonnie++.cpp 2016-06-30 11:41:41.000000000 +0200 +++ new/bonnie++-1.97.3/bonnie++.cpp 2016-12-13 03:37:51.000000000 +0100 @@ -727,7 +727,7 @@ // then the storage of file names will take more than half RAM and there // won't be enough RAM to have Bonnie++ paged in and to have a reasonable // meta-data cache. - if(globals.ram && directory_size * MaxDataPerFile * 2 > (globals.ram << 10)) + if(globals.ram && directory_size * MaxDataPerFile * 2 > int((globals.ram << 10))) { fprintf(stderr , "When testing %dK of files in %d MiB of RAM the system is likely to\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bonnie++-1.97.2/debian/changelog new/bonnie++-1.97.3/debian/changelog --- old/bonnie++-1.97.2/debian/changelog 2016-06-30 11:42:23.000000000 +0200 +++ new/bonnie++-1.97.3/debian/changelog 2016-12-13 03:37:51.000000000 +0100 @@ -1,3 +1,12 @@ +bonnie++ (1.97.3) unstable; urgency=medium + + * In bonnie++.8 documented -c option. Closes: #639452 #631484 + Noted that for latency lower is better. Closes: #717285 + * Fixed the symlink creation. Closes: #823882 + * Change backgroundcolor to background-color for correct CSS. Closes: #242878 + + -- Russell Coker <russell@coker.com.au> Tue, 13 Dec 2016 13:37:51 +1100 + bonnie++ (1.97.2) unstable; urgency=medium * Added compat level and build-depends on debhelper >= 9
participants (1)
-
root@hilbert.suse.de