From 60f8666ae88c5a03b0da58acb94015337442e18b Mon Sep 17 00:00:00 2001 From: James Peach Date: Tue, 31 Jan 2006 06:09:18 +0000 Subject: r13255: New CIFS dd client for use in performance testing. The guts of this is in client/cifsdd*, which implements a minimal implementation of dd. The IO path is careful to always perform IO at the requested block size. There is a very basic test suite in script/tests/test_cifsdd.sh which covers local and remote IO at a variety of block sizes. Added to lib/util_str.c is a small set of conv_str_*() functions to convert strings to the corresponding type. smbcli_parse_unc is modified to insert NULL terminators after its hostname and sharename parameters. This allows it to correctly parse a path of the form //foo/share/path/file. (This used to be commit cd2f94a65817bfae20ac21b730a2c42d8e581ab3) --- source4/client/config.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'source4/client/config.mk') diff --git a/source4/client/config.mk b/source4/client/config.mk index 2cf5dbb80a..10f56da138 100644 --- a/source4/client/config.mk +++ b/source4/client/config.mk @@ -18,3 +18,20 @@ REQUIRED_SUBSYSTEMS = \ POPT_CREDENTIALS # End BINARY smbclient ################################# + +################################# +# Start BINARY cifsdd +[BINARY::cifsdd] +INSTALLDIR = BINDIR +OBJ_FILES = \ + cifsdd.o \ + cifsddio.o +REQUIRED_SUBSYSTEMS = \ + CONFIG \ + LIBSMB \ + LIBPOPT \ + POPT_SAMBA \ + POPT_CREDENTIALS +# End BINARY sdd +################################# + -- cgit