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
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 = {