runtests runvmstat snaprun.sh tbox.sh common.sh
noinst_PROGRAMS = openunlink testreq truncate directio openme writeme mcreate
noinst_PROGRAMS += munlink tchmod toexcl fsx test_brw openclose createdestroy
-noinst_PROGRAMS += lovstripe stat createmany mkdirmany multifstat # ldaptest
+noinst_PROGRAMS += lovstripe stat createmany mkdirmany multifstat
+# noinst_PROGRAMS += ldaptest
+noinst_PROGRAMS += checkstat
# ldaptest_SOURCES = ldaptest.c
tchmod_SOURCES = tchmod.c
createmany_SOURCES = createmany.c
mkdirmany_SOURCES = mkdirmany.c
multifstat_SOURCES = multifstat.c
+checkstat_SOURCES = checkstat.c
include $(top_srcdir)/Rules
/* The ioctl API has been extended to provide the LOV stripe metadata to the
* caller when applicable. This utility, however, only saves the LSM for the
- * latest CREATE. */
+ * latest CREATE. It only saves the LSM when the ioctl indicates that it
+ * is valid by overloading 'ioc_conn2' as a boolean. */
int jt_obd_create(int argc, char **argv)
{
struct obd_ioctl_data data;
break;
}
- lsm_valid = 1;
+ lsm_valid = data.ioc_conn2;
if (be_verbose(verbose, &next_time, i, &next_count, count))
printf("%s: #%d is object id "LPX64"\n",