X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Ffsx.c;h=a013969825af5ab3b57d3759557ff37c11fe6202;hb=e7897043c6eff00593123f2b43075bebeb50934f;hp=0d1b1d43e96edb150dd15ceb479500f39dc574a7;hpb=86f16910645d9d9cad17c0f53ca1a375121e3f4c;p=fs%2Flustre-release.git diff --git a/lustre/tests/fsx.c b/lustre/tests/fsx.c index 0d1b1d4..a013969 100644 --- a/lustre/tests/fsx.c +++ b/lustre/tests/fsx.c @@ -359,15 +359,15 @@ logdump(void) break; case OP_TRUNCATE: down = lp->args[0] < lp->args[1]; - prt("TRUNCATE %s\tfrom 0x%05x to 0x%05x", - down ? "DOWN" : "UP", lp->args[1], lp->args[0]); + prt("TRUNC%s 0x%05x to 0x%05x", + down ? "_DN" : "_UP", lp->args[1], lp->args[0]); if (badoff >= lp->args[!down] && badoff < lp->args[!!down]) - prt("\t******WWWW"); + prt("\t******TTTT"); break; case OP_FALLOCATE: /* 0: offset 1: length 2: where alloced */ - prt("FALLOC \tfrom 0x%05x to 0x%05x\t(0x%05x bytes)%s", + prt("FALLOC 0x%05x thru 0x%05x\t(0x%05x bytes)%s", lp->args[0], lp->args[0] + lp->args[1], lp->args[1], falloc_type[lp->args[2]]); if (badoff >= lp->args[0] && @@ -690,7 +690,7 @@ output_line(struct test_file *tf, int op, unsigned int offset, (monitorend == -1 || offset <= monitorend))))))) return; - prt("%06lu%s %lu.%06u %-10s %#08x %s %#08x\t(0x0%x bytes)\n", + prt("%06lu%s %lu.%06u %-10s %#08x %s %#08x\t(0x%x bytes)\n", testcalls, fill_tf_buf(tf), tv.tv_sec, (int)tv.tv_usec, ops[op], offset, op == OP_TRUNCATE || op == OP_PUNCH_HOLE ? " to " : "thru", offset + size - 1,