Whamcloud - gitweb
Merge b_md into HEAD
[fs/lustre-release.git] / lustre / utils / obdctl.h
1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2  * vim:expandtab:shiftwidth=8:tabstop=8:
3  *
4  *  Copyright (C) 2002 Cluster File Systems, Inc.
5  *
6  *   Author: Peter J. Braam <braam@clusterfs.com>
7  *   Author: Phil Schwan <phil@clusterfs.com>
8  *   Author: Robert Read <rread@clusterfs.com> 
9  *
10  *   This file is part of Lustre, http://www.lustre.org.
11  *
12  *   Lustre is free software; you can redistribute it and/or
13  *   modify it under the terms of version 2 of the GNU General Public
14  *   License as published by the Free Software Foundation.
15  *
16  *   Lustre is distributed in the hope that it will be useful,
17  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
18  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  *   GNU General Public License for more details.
20  *
21  *   You should have received a copy of the GNU General Public License
22  *   along with Lustre; if not, write to the Free Software
23  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24  *
25  */
26 #ifndef _OBDCTL_H_
27 #define _OBDCTL_H_
28
29 int do_disconnect(char *func, int verbose);
30 int obd_initialize(int argc, char **argv);
31 void obd_cleanup(int argc, char **argv);
32
33 int jt_opt_device(int argc, char **argv);
34 int jt_opt_threads(int argc, char **argv);
35
36 int jt_obd_device(int argc, char **argv);
37 int jt_obd_connect(int argc, char **argv);
38 int jt_obd_disconnect(int argc, char **argv);
39 int jt_obd_detach(int argc, char **argv);
40 int jt_obd_cleanup(int argc, char **argv);
41 int jt_obd_no_transno(int argc, char **argv);
42 int jt_obd_set_readonly(int argc, char **argv);
43 int jt_obd_newdev(int argc, char **argv);
44 int jt_obd_list(int argc, char **argv);
45 int jt_obd_attach(int argc, char **argv);
46 int jt_obd_name2dev(int argc, char **argv);
47 int jt_obd_setup(int argc, char **argv);
48 int jt_obd_create(int argc, char **argv);
49 int jt_obd_setattr(int argc, char **argv);
50 int jt_obd_destroy(int argc, char **argv);
51 int jt_obd_getattr(int argc, char **argv);
52 int jt_obd_test_getattr(int argc, char **argv);
53 int jt_obd_test_brw(int argc, char **argv);
54 int jt_obd_get_stripe(int argc, char **argv);
55 int jt_obd_set_stripe(int argc, char **argv);
56 int jt_obd_unset_stripe(int argc, char **argv);
57 int jt_obd_lov_setconfig(int argc, char **argv);
58 int jt_obd_lov_getconfig(int argc, char **argv);
59 int jt_obd_test_ldlm(int argc, char **argv);
60 int jt_obd_ldlm_regress_start(int argc, char **argv);
61 int jt_obd_ldlm_regress_stop(int argc, char **argv);
62 int jt_obd_dump_ldlm(int argc, char **argv);
63 int jt_obd_lov_set_osc_active(int argc, char **argv);
64 int jt_obd_newconn(int argc, char **argv);
65 int jt_obd_failconn(int argc, char **argv);
66 int jt_obd_mdc_lookup(int argc, char **argv);
67 int jt_get_version(int argc, char **argv);
68
69 #endif