Skip to content

dbench: fix compile warnings and update a bit

Luis Chamberlain fstests 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest25 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/25dbench: simplify open_loadfile() as check_loadfile_ok()dbench.c+14 -90 replies
2/25child: fix usage of gzFile and gzopen()child.c+2 -20 replies
3/25dbench: remove unused double t valuedbench.c+1 -30 replies
4/25child: fix data type comparison on child_runchild.c+1 -10 replies
5/25Makefile.in: disable unused warning for rpc generated codeMakefile.in+5 -40 replies
6/25configure.ac: run autoupdateconfigure.ac+29 -220 replies
7/25dbench: update use of time.h or sys/time.hconfigure.ac dbench.h+13 -160 replies
8/25config.h.in: run autoconfconfig.h.in+0 -190 replies
9/25snprintf: specify safe fallthrough on switchesMakefile.in snprintf.c+6 -10 replies
10/25nfsio.c: include dbench.h before nfs.hnfsio.c+1 -10 replies
11/25nfsio: remove unused status variablenfsio.c+0 -10 replies
12/25child: be expicit about string truncation goalchild.c+5 -10 replies
13/25child: do not overlap on memcpy()child.c+3 -10 replies
14/25dbench.h: use bits/types.h instead of defining uint32dbench.h+2 -10 replies
15/25sockio.c: use uint32_tsockio.c+1 -10 replies
16/25libnfs.c: fix a few simple compile warningslibnfs.c+3 -40 replies
17/25libnfs: fix compilation warning for inet_tonslibnfs.c+4 -00 replies
18/25libnfs.c: fix sign conflict compile warninglibnfs.c+2 -20 replies
19/25Makefile.in:Makefile.in+1 -00 replies
20/25linux_scsi.c: fix redeclaration of _GNU_SOURCElinux_scsi.c+0 -40 replies
21/25Makefile.in: modernize build output with V=1 or V=0Makefile.in+70 -500 replies
22/25Makefile.in: declare datarootdirMakefile.in+1 -00 replies
23/25configure.ac: fix smbclient detectionconfigure.ac+1 -10 replies
24/25libiscsi: fix compile warning on data typeslibiscsi.c+1 -10 replies
25/25smb: fix compilation and disable warning on deprecated-declarationsMakefile.in+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/25] dbench: fix compile warnings and update a bit

Some form of OCD kicked and so this fixes all compile errors on dbench. It also fixes compiling with smbclient as detection of the library wasn't working anymore. This also modernizes the default build output to be a bit more quiet and only if you issue V=1 do you get the details behind what is being built. In case this never ends up on samba's git tree I've put mine up on github [0].

Well, hopefully Debian starts carrying dbench again soon.

[0] https://github.com/mcgrof/dbench

Luis Chamberlain (25):
dbench: simplify open_loadfile() as check_loadfile_ok()
child: fix usage of gzFile and gzopen()
dbench: remove unused double t value
child: fix data type comparison on child_run Makefile.in: disable unused warning for rpc generated code configure.ac: run autoupdate
dbench: update use of time.h or sys/time.h
config.h.in: run autoconf
snprintf: specify safe fallthrough on switches
nfsio.c: include dbench.h before nfs.h
nfsio: remove unused status variable
child: be expicit about string truncation goal
child: do not overlap on memcpy()
dbench.h: use bits/types.h instead of defining uint32 sockio.c: use uint32_t
libnfs.c: fix a few simple compile warnings
libnfs: fix compilation warning for inet_tons
libnfs.c: fix sign conflict compile warning
Makefile.in:
linux_scsi.c: fix redeclaration of _GNU_SOURCE Makefile.in: modernize build output with V=1 or V=0 Makefile.in: declare datarootdir
configure.ac: fix smbclient detection
libiscsi: fix compile warning on data types
smb: fix compilation and disable warning on deprecated-declarations

 Makefile.in  | 131 +++++++++++++++++++++++++++++++--------------------
 child.c      |  16 +++++--
 config.h.in  |  19 --------
 configure.ac |  41 +++++++---------
 dbench.c     |  27 ++++++-----
 dbench.h     |  16 ++++++-
 libiscsi.c   |   2 +-
 libnfs.c     |  15 +++---
 linux_scsi.c |   4 --
 nfsio.c      |   3 +-
 snprintf.c   |   3 ++
 sockio.c     |   2 +-
 12 files changed, 153 insertions(+), 126 deletions(-)
Signature · 1 line
2.34.1