1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2 * vim:expandtab:shiftwidth=8:tabstop=8:
5 * Initialization and global data for the p30 user side library
7 * Copyright (c) 2001-2003 Cluster File Systems, Inc.
8 * Copyright (c) 2001-2002 Sandia National Laboratories
10 * This file is part of Lustre, http://www.sf.net/projects/lustre/
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.
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.
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.
26 #include <portals/api-support.h>
29 unsigned int portal_subsystem_debug = ~0 - (S_PORTALS | S_QSWNAL | S_SOCKNAL |
31 unsigned int portal_debug = (D_WARNING | D_DLMTRACE | D_ERROR | D_EMERG | D_HA |
32 D_RPCTRACE | D_VFSTRACE);
33 unsigned int portal_cerror = 1;
34 unsigned int portal_printk;
35 unsigned int portal_stack;
38 atomic_t portal_kmemory = ATOMIC_INIT(0);
41 int __p30_initialized;
42 int __p30_myr_initialized;
43 int __p30_ip_initialized;
44 ptl_handle_ni_t __myr_ni_handle;
45 ptl_handle_ni_t __ip_ni_handle;
47 int __p30_myr_timeout = 10;
60 __p30_initialized = 1;
69 /* Reverse order of initialization */