- ${ECHOCMD} "${LCTL} <<-EOF
- cfg_device ${echodev}
- --threads ${threads} 0 ${echodev} test_create \
- -d ${tdir} -D ${threads} -b ${lbase} -c 0 -n ${usize}
- EOF"
+ ${ECHOCMD} "${LCTL} --device ${echodev} \
+ --threads ${threads} 0 ${echodev} \
+ test_create -d${tdir} -D${threads} -b${lbase} -c0 -n${usize}"
do_rpc_nodes $(facet_active_host $SINGLEMDS) load_modules_local
format_mdt $(facet_number $SINGLEMDS)
do_rpc_nodes $(facet_active_host $SINGLEMDS) load_modules_local
format_mdt $(facet_number $SINGLEMDS)
echo "lfsck_namespace speed is ${SPEED}/sec"
stop ${SINGLEMDS} > /dev/null || error "Fail to stop MDS!"
done
echo "lfsck_namespace speed is ${SPEED}/sec"
stop ${SINGLEMDS} > /dev/null || error "Fail to stop MDS!"
done
echo "lfsck_namespace speed is ${SPEED}/sec"
stop ${SINGLEMDS} > /dev/null || error "Fail to stop MDS!"
done
echo "lfsck_namespace speed is ${SPEED}/sec"
stop ${SINGLEMDS} > /dev/null || error "Fail to stop MDS!"
done
do_rpc_nodes $(facet_active_host $SINGLEMDS) load_modules_local
format_mdt $(facet_number $SINGLEMDS)
do_rpc_nodes $(facet_active_host $SINGLEMDS) load_modules_local
format_mdt $(facet_number $SINGLEMDS)
echo "lfsck_namespace speed is ${SPEED}/sec"
stop ${SINGLEMDS} > /dev/null || error "Fail to stop MDS!"
done
echo "lfsck_namespace speed is ${SPEED}/sec"
stop ${SINGLEMDS} > /dev/null || error "Fail to stop MDS!"
done
do_rpc_nodes $(facet_active_host $SINGLEMDS) load_modules_local
format_mdt $(facet_number $SINGLEMDS)
do_rpc_nodes $(facet_active_host $SINGLEMDS) load_modules_local
format_mdt $(facet_number $SINGLEMDS)
lfsck_create_nfiles ${nfiles} ${BCOUNT} ${NTHREADS} ||
error "Fail to create files!"
echo "+++ end to create for ${i} files set at: $(date) +++"
lfsck_create_nfiles ${nfiles} ${BCOUNT} ${NTHREADS} ||
error "Fail to create files!"
echo "+++ end to create for ${i} files set at: $(date) +++"
echo "Creating $count 2-striped sub-dirs under $show_dir," \
"and 4 regular files under each striped sub-dir at: $(date)"
for ((m = 0; m < $count; m++)); do
echo "Creating $count 2-striped sub-dirs under $show_dir," \
"and 4 regular files under each striped sub-dir at: $(date)"
for ((m = 0; m < $count; m++)); do