update for DAOS API changes

Signed-off-by: Mohamad Chaarawi <mohamad.chaarawi@intel.com>
master
Mohamad Chaarawi 2019-07-31 17:22:20 +00:00
parent 1c640716c7
commit 92939e4fbd
2 changed files with 1 additions and 8 deletions

View File

@ -31,7 +31,6 @@
#include <gurt/common.h>
#include <daos.h>
#include <daos_addons.h>
#include "ior.h"
#include "aiori.h"
@ -326,13 +325,11 @@ DAOS_Fini()
static void
gen_oid(const char *name, daos_obj_id_t *oid)
{
daos_ofeat_t feat = 0;
oid->lo = d_hash_murmur64(name, strlen(name), IOR_DAOS_MUR_SEED);
oid->hi = 0;
feat = DAOS_OF_DKEY_UINT64;
daos_obj_generate_id(oid, feat, objectClass, 0);
daos_array_generate_id(oid, objectClass, true, 0);
}
static void *

View File

@ -490,11 +490,7 @@ DFS_Create(char *testFileName, IOR_param_t *param)
rc = dfs_open(dfs, parent, name, mode, fd_oflag,
OC_SX, 0, NULL, &obj);
DERR(rc, "dfs_open() of %s Failed", name);
MPI_CHECK(MPI_Barrier(testComm), "barrier error");
} else {
MPI_CHECK(MPI_Barrier(testComm), "barrier error");
fd_oflag |= O_RDWR;
rc = dfs_open(dfs, parent, name, mode, fd_oflag,
OC_SX, 0, NULL, &obj);