lustre_mds.h

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

H
58
字号
/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*- * vim:expandtab:shiftwidth=8:tabstop=8: * *   This file is part of Lustre, http://www.lustre.org * * MDS data structures. * See also lustre_idl.h for wire formats of requests. */#ifndef _LINUX_LUSTRE_MDS_H#define _LINUX_LUSTRE_MDS_H#ifndef _LUSTRE_MDS_H#error Do not #include this file directly. #include <lustre_mds.h> instead#endif#ifdef __KERNEL__# include <linux/fs.h># include <linux/dcache.h># ifdef CONFIG_FS_POSIX_ACL#  ifdef HAVE_XATTR_ACL#   include <linux/xattr_acl.h>#  endif #  ifdef HAVE_LINUX_POSIX_ACL_XATTR_H#   include <linux/posix_acl_xattr.h>#  endif# endif# ifndef HAVE_VFS_INTENT_PATCHES#  include <linux/lustre_intent.h># endif#endifstruct ldlm_lock_desc;struct mds_obd;struct ptlrpc_connection;struct ptlrpc_client;struct obd_export;struct ptlrpc_request;struct obd_device;struct ll_file_data;/* mds/handler.c */#ifdef __KERNEL__struct dentry *mds_fid2locked_dentry(struct obd_device *obd, struct ll_fid *fid,                                     struct vfsmount **mnt, int lock_mode,                                     struct lustre_handle *lockh,                                     char *name, int namelen, __u64 lockpart);struct dentry *mds_fid2dentry(struct mds_obd *mds, struct ll_fid *fid,                              struct vfsmount **mnt);int mds_update_server_data(struct obd_device *, int force_sync);/* mds/mds_fs.c */int mds_fs_setup(struct obd_device *obddev, struct vfsmount *mnt);int mds_fs_cleanup(struct obd_device *obddev);#endif#endif

⌨️ 快捷键说明

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