]> git.proxmox.com Git - mirror_corosync.git/commitdiff
defect 788
authorSteven Dake <sdake@redhat.com>
Wed, 27 Jul 2005 20:05:34 +0000 (20:05 +0000)
committerSteven Dake <sdake@redhat.com>
Wed, 27 Jul 2005 20:05:34 +0000 (20:05 +0000)
ckptbench returns error 7 at 20000 byte size writes.  The benchmark program
improperly creates the checkpoint parameters.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@777 fd59a12c-fef9-0310-b244-a6a79926bd2f

test/ckptbench.c

index 3702d560975238cb49d0c78f2429d9d4e0fcc36b..b23236fedc26995c16de3a09928fbe4ee28dc4c9 100644 (file)
@@ -73,12 +73,12 @@ SaCkptCallbacksT callbacks = {
 SaNameT checkpointName = { 5, "abra\0" };
 
 SaCkptCheckpointCreationAttributesT checkpointCreationAttributes = {
-       SA_CKPT_WR_ALL_REPLICAS,
-       100000,
-       0,
-       5,
-       20000,
-       10
+        .creationFlags =        SA_CKPT_WR_ALL_REPLICAS,
+        .checkpointSize =       150000,
+        .retentionDuration =    0,
+        .maxSections =          5,
+        .maxSectionSize =       150000,
+        .maxSectionIdSize =     10
 };
 
 SaCkptSectionIdT sectionId1 = {