Open renzhengeek opened 8 years ago
run_reflink_test()
{
local logdir=${LOG_DIR}/multi-reflink-test
LogRunMsg "reflink-test"
LogMsg "reflink 'data=ordered' mode test"
${BINDIR}/multi_reflink_test_run.sh -r 4 -f ${NODE_LIST} -a rsh -o \
${logdir} -d ${DEVICE} -s ${CLUSTER_STACK} -n ${CLUSTER_NAME} ${MOUNT_POINT} >> ${LOGFILE} 2>&1 || {
RET=$?
LogRC $RET
return $RET
}
LogMsg "reflink 'data=writeback' mode test"
${BINDIR}/multi_reflink_test_run.sh -r 4 -f ${NODE_LIST} -a rsh -o \
${logdir} -W -d ${DEVICE} ${MOUNT_POINT} >> ${LOGFILE} 2>&1
LogRC $?
}