lustre_net.h

来自「非常经典的一个分布式系统」· C头文件 代码 · 共 47 行

H
47
字号
/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*- * vim:expandtab:shiftwidth=8:tabstop=8: * *  Copyright (C) 2002, 2003 Cluster File Systems, Inc. * *   This file is part of Lustre, http://www.lustre.org. * *   Lustre is free software; you can redistribute it and/or *   modify it under the terms of version 2 of the GNU General Public *   License as published by the Free Software Foundation. * *   Lustre is distributed in the hope that it will be useful, *   but WITHOUT ANY WARRANTY; without even the implied warranty of *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the *   GNU General Public License for more details. * *   You should have received a copy of the GNU General Public License *   along with Lustre; if not, write to the Free Software *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * */#ifndef _LINUX_LUSTRE_NET_H#define _LINUX_LUSTRE_NET_H#ifndef _LUSTRE_NET_H#error Do not #include this file directly. #include <lustre_net.h> instead#endif#ifdef __KERNEL__#include <linux/version.h>#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))#include <linux/tqueue.h>#else#include <linux/workqueue.h>#endif#endif/* XXX Liang: should be moved to other header instead of here */#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,4)#ifndef WITH_GROUP_INFO#define WITH_GROUP_INFO#endif#endif#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?