From 82656a775dfadcdbf22816b44b6ceb8b3be89a28 Mon Sep 17 00:00:00 2001 From: phil Date: Sat, 12 Feb 2005 21:00:20 +0000 Subject: [PATCH] remove the last vestiges of test_ldlm from {l,obd}ctl --- lustre/utils/lctl.c | 8 -------- lustre/utils/obd.c | 17 ----------------- lustre/utils/obdctl.c | 1 - 3 files changed, 26 deletions(-) diff --git a/lustre/utils/lctl.c b/lustre/utils/lctl.c index bb41dd5..b05c1a0 100644 --- a/lustre/utils/lctl.c +++ b/lustre/utils/lctl.c @@ -208,14 +208,6 @@ command_t cmdlist[] = { {"unset_stripe", jt_obd_unset_stripe, 0, "unset stripe info for an echo client object\n" "usage: unset_stripe objid\n"}, - {"test_ldlm", jt_obd_test_ldlm, 0, - "perform lock manager test\n" - "usage: test_ldlm"}, - {"ldlm_regress_start", jt_obd_ldlm_regress_start, 0, - "start lock manager stress test\n" - "usage: ldlm_regress_start [numthreads [refheld [numres [numext]]]]"}, - {"ldlm_regress_stop", jt_obd_ldlm_regress_stop, 0, - "stop lock manager stress test (no args)\n"}, {"dump_ldlm", jt_obd_dump_ldlm, 0, "dump all lock manager state (no args)"}, {"activate", jt_obd_activate, 0, "activate an import\n"}, diff --git a/lustre/utils/obd.c b/lustre/utils/obd.c index c14e4a5..4444fea 100644 --- a/lustre/utils/obd.c +++ b/lustre/utils/obd.c @@ -1676,23 +1676,6 @@ out: return rc; } -int jt_obd_test_ldlm(int argc, char **argv) -{ - struct obd_ioctl_data data; - int rc; - - IOC_INIT(data); - if (argc != 1) - return CMD_HELP; - - IOC_PACK(argv[0], data); - rc = l2_ioctl(OBD_DEV_ID, IOC_LDLM_TEST, buf); - if (rc) - fprintf(stderr, "error: %s: test failed: %s\n", - jt_cmdname(argv[0]), strerror(rc = errno)); - return rc; -} - int jt_obd_dump_ldlm(int argc, char **argv) { struct obd_ioctl_data data; diff --git a/lustre/utils/obdctl.c b/lustre/utils/obdctl.c index b67f8f1..28b1729 100644 --- a/lustre/utils/obdctl.c +++ b/lustre/utils/obdctl.c @@ -71,7 +71,6 @@ command_t cmdlist[] = { {"newconn", jt_obd_newconn, 0, "newconn [newuuid]"}, {"test_getattr", jt_obd_test_getattr, 0, "test_getattr [verbose [[t]objid]]"}, {"test_brw", jt_obd_test_brw, 0, "test_brw [t] [write [verbose [pages [[t]objid]]]]"}, - {"test_ldlm", jt_obd_test_ldlm, 0, "test lock manager (no args)"}, {"dump_ldlm", jt_obd_dump_ldlm, 0, "dump all lock manager state (no args)"}, /* User interface commands */ -- 1.8.3.1