summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-10-12 17:29:45 +0200
committerVolker Lendecke <vl@samba.org>2009-10-13 20:34:25 +0200
commit94d5417d10a9baa281a19b86d157fb856430dd13 (patch)
tree0d292ff438ca8ce369d0587ba418f426d342bfdd /source3/libsmb
parent1302526a74fe71b4cb56ff3c0ce26d6c5b71d360 (diff)
downloadsamba-94d5417d10a9baa281a19b86d157fb856430dd13.tar.gz
samba-94d5417d10a9baa281a19b86d157fb856430dd13.tar.bz2
samba-94d5417d10a9baa281a19b86d157fb856430dd13.zip
s3:torture: Add a notify-bench test
This is a test that creates and deletes files in a directory as fast as the network allows it. At the same time, it opens a filechangenotify. This test is done to just torture handling a single directory together with the notify infrastructure.
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clifile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c
index 9cab3f675e..5eb8bd471b 100644
--- a/source3/libsmb/clifile.c
+++ b/source3/libsmb/clifile.c
@@ -5028,6 +5028,10 @@ NTSTATUS cli_posix_rmdir(struct cli_state *cli, const char *fname)
return status;
}
+/****************************************************************************
+ filechangenotify
+****************************************************************************/
+
struct cli_notify_state {
uint8_t setup[8];
uint32_t num_changes;