Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
b4cf67a2
K
Kernel
项目概览
openeuler
/
Kernel
大约 2 年 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
b4cf67a2
编写于
12月 11, 2015
作者:
M
Mike Marshall
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Orangef: remove overlooked old-style userspace debug parts
Signed-off-by:
N
Mike Marshall
<
hubcap@omnibond.com
>
上级
b5e376ea
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
1 addition
and
201 deletion
+1
-201
fs/orangefs/orangefs-debug.h
fs/orangefs/orangefs-debug.h
+1
-201
未找到文件。
fs/orangefs/orangefs-debug.h
浏览文件 @
b4cf67a2
...
...
@@ -19,78 +19,6 @@
#endif
#define GOSSIP_NO_DEBUG (__u64)0
#define GOSSIP_BMI_DEBUG_TCP ((__u64)1 << 0)
#define GOSSIP_BMI_DEBUG_CONTROL ((__u64)1 << 1)
#define GOSSIP_BMI_DEBUG_OFFSETS ((__u64)1 << 2)
#define GOSSIP_BMI_DEBUG_GM ((__u64)1 << 3)
#define GOSSIP_JOB_DEBUG ((__u64)1 << 4)
#define GOSSIP_SERVER_DEBUG ((__u64)1 << 5)
#define GOSSIP_STO_DEBUG_CTRL ((__u64)1 << 6)
#define GOSSIP_STO_DEBUG_DEFAULT ((__u64)1 << 7)
#define GOSSIP_FLOW_DEBUG ((__u64)1 << 8)
#define GOSSIP_BMI_DEBUG_GM_MEM ((__u64)1 << 9)
#define GOSSIP_REQUEST_DEBUG ((__u64)1 << 10)
#define GOSSIP_FLOW_PROTO_DEBUG ((__u64)1 << 11)
#define GOSSIP_NCACHE_DEBUG ((__u64)1 << 12)
#define GOSSIP_CLIENT_DEBUG ((__u64)1 << 13)
#define GOSSIP_REQ_SCHED_DEBUG ((__u64)1 << 14)
#define GOSSIP_ACACHE_DEBUG ((__u64)1 << 15)
#define GOSSIP_TROVE_DEBUG ((__u64)1 << 16)
#define GOSSIP_TROVE_OP_DEBUG ((__u64)1 << 17)
#define GOSSIP_DIST_DEBUG ((__u64)1 << 18)
#define GOSSIP_BMI_DEBUG_IB ((__u64)1 << 19)
#define GOSSIP_DBPF_ATTRCACHE_DEBUG ((__u64)1 << 20)
#define GOSSIP_MMAP_RCACHE_DEBUG ((__u64)1 << 21)
#define GOSSIP_LOOKUP_DEBUG ((__u64)1 << 22)
#define GOSSIP_REMOVE_DEBUG ((__u64)1 << 23)
#define GOSSIP_GETATTR_DEBUG ((__u64)1 << 24)
#define GOSSIP_READDIR_DEBUG ((__u64)1 << 25)
#define GOSSIP_IO_DEBUG ((__u64)1 << 26)
#define GOSSIP_DBPF_OPEN_CACHE_DEBUG ((__u64)1 << 27)
#define GOSSIP_PERMISSIONS_DEBUG ((__u64)1 << 28)
#define GOSSIP_CANCEL_DEBUG ((__u64)1 << 29)
#define GOSSIP_MSGPAIR_DEBUG ((__u64)1 << 30)
#define GOSSIP_CLIENTCORE_DEBUG ((__u64)1 << 31)
#define GOSSIP_CLIENTCORE_TIMING_DEBUG ((__u64)1 << 32)
#define GOSSIP_SETATTR_DEBUG ((__u64)1 << 33)
#define GOSSIP_MKDIR_DEBUG ((__u64)1 << 34)
#define GOSSIP_VARSTRIP_DEBUG ((__u64)1 << 35)
#define GOSSIP_GETEATTR_DEBUG ((__u64)1 << 36)
#define GOSSIP_SETEATTR_DEBUG ((__u64)1 << 37)
#define GOSSIP_ENDECODE_DEBUG ((__u64)1 << 38)
#define GOSSIP_DELEATTR_DEBUG ((__u64)1 << 39)
#define GOSSIP_ACCESS_DEBUG ((__u64)1 << 40)
#define GOSSIP_ACCESS_DETAIL_DEBUG ((__u64)1 << 41)
#define GOSSIP_LISTEATTR_DEBUG ((__u64)1 << 42)
#define GOSSIP_PERFCOUNTER_DEBUG ((__u64)1 << 43)
#define GOSSIP_STATE_MACHINE_DEBUG ((__u64)1 << 44)
#define GOSSIP_DBPF_KEYVAL_DEBUG ((__u64)1 << 45)
#define GOSSIP_LISTATTR_DEBUG ((__u64)1 << 46)
#define GOSSIP_DBPF_COALESCE_DEBUG ((__u64)1 << 47)
#define GOSSIP_ACCESS_HOSTNAMES ((__u64)1 << 48)
#define GOSSIP_FSCK_DEBUG ((__u64)1 << 49)
#define GOSSIP_BMI_DEBUG_MX ((__u64)1 << 50)
#define GOSSIP_BSTREAM_DEBUG ((__u64)1 << 51)
#define GOSSIP_BMI_DEBUG_PORTALS ((__u64)1 << 52)
#define GOSSIP_USER_DEV_DEBUG ((__u64)1 << 53)
#define GOSSIP_DIRECTIO_DEBUG ((__u64)1 << 54)
#define GOSSIP_MGMT_DEBUG ((__u64)1 << 55)
#define GOSSIP_MIRROR_DEBUG ((__u64)1 << 56)
#define GOSSIP_WIN_CLIENT_DEBUG ((__u64)1 << 57)
#define GOSSIP_SECURITY_DEBUG ((__u64)1 << 58)
#define GOSSIP_USRINT_DEBUG ((__u64)1 << 59)
#define GOSSIP_RCACHE_DEBUG ((__u64)1 << 60)
#define GOSSIP_SECCACHE_DEBUG ((__u64)1 << 61)
#define GOSSIP_BMI_DEBUG_ALL ((__u64) (GOSSIP_BMI_DEBUG_TCP + \
GOSSIP_BMI_DEBUG_CONTROL + \
GOSSIP_BMI_DEBUG_GM + \
GOSSIP_BMI_DEBUG_OFFSETS + \
GOSSIP_BMI_DEBUG_IB + \
GOSSIP_BMI_DEBUG_MX + \
GOSSIP_BMI_DEBUG_PORTALS))
const
char
*
ORANGEFS_debug_get_next_debug_keyword
(
int
position
);
#define GOSSIP_SUPER_DEBUG ((__u64)1 << 0)
#define GOSSIP_INODE_DEBUG ((__u64)1 << 1)
...
...
@@ -124,131 +52,6 @@ struct __keyword_mask_s {
__u64
mask_val
;
};
#define __DEBUG_ALL ((__u64) -1)
/* map all config keywords to pvfs2 debug masks here */
static
struct
__keyword_mask_s
s_keyword_mask_map
[]
=
{
/* Log trove debugging info. Same as 'trove'. */
{
"storage"
,
GOSSIP_TROVE_DEBUG
},
/* Log trove debugging info. Same as 'storage'. */
{
"trove"
,
GOSSIP_TROVE_DEBUG
},
/* Log trove operations. */
{
"trove_op"
,
GOSSIP_TROVE_OP_DEBUG
},
/* Log network debug info. */
{
"network"
,
GOSSIP_BMI_DEBUG_ALL
},
/* Log server info, including new operations. */
{
"server"
,
GOSSIP_SERVER_DEBUG
},
/* Log client sysint info. This is only useful for the client. */
{
"client"
,
GOSSIP_CLIENT_DEBUG
},
/* Debug the varstrip distribution */
{
"varstrip"
,
GOSSIP_VARSTRIP_DEBUG
},
/* Log job info */
{
"job"
,
GOSSIP_JOB_DEBUG
},
/* Debug PINT_process_request calls. EXTREMELY verbose! */
{
"request"
,
GOSSIP_REQUEST_DEBUG
},
/* Log request scheduler events */
{
"reqsched"
,
GOSSIP_REQ_SCHED_DEBUG
},
/* Log the flow protocol events, including flowproto_multiqueue */
{
"flowproto"
,
GOSSIP_FLOW_PROTO_DEBUG
},
/* Log flow calls */
{
"flow"
,
GOSSIP_FLOW_DEBUG
},
/* Debug the client name cache. Only useful on the client. */
{
"ncache"
,
GOSSIP_NCACHE_DEBUG
},
/* Debug read-ahead cache events. Only useful on the client. */
{
"mmaprcache"
,
GOSSIP_MMAP_RCACHE_DEBUG
},
/* Debug the attribute cache. Only useful on the client. */
{
"acache"
,
GOSSIP_ACACHE_DEBUG
},
/* Log/Debug distribution calls */
{
"distribution"
,
GOSSIP_DIST_DEBUG
},
/* Debug the server-side dbpf attribute cache */
{
"dbpfattrcache"
,
GOSSIP_DBPF_ATTRCACHE_DEBUG
},
/* Debug the client lookup state machine. */
{
"lookup"
,
GOSSIP_LOOKUP_DEBUG
},
/* Debug the client remove state macine. */
{
"remove"
,
GOSSIP_REMOVE_DEBUG
},
/* Debug the server getattr state machine. */
{
"getattr"
,
GOSSIP_GETATTR_DEBUG
},
/* Debug the server setattr state machine. */
{
"setattr"
,
GOSSIP_SETATTR_DEBUG
},
/* vectored getattr server state machine */
{
"listattr"
,
GOSSIP_LISTATTR_DEBUG
},
/* Debug the client and server get ext attributes SM. */
{
"geteattr"
,
GOSSIP_GETEATTR_DEBUG
},
/* Debug the client and server set ext attributes SM. */
{
"seteattr"
,
GOSSIP_SETEATTR_DEBUG
},
/* Debug the readdir operation (client and server) */
{
"readdir"
,
GOSSIP_READDIR_DEBUG
},
/* Debug the mkdir operation (server only) */
{
"mkdir"
,
GOSSIP_MKDIR_DEBUG
},
/*
* Debug the io operation (reads and writes)
* for both the client and server.
*/
{
"io"
,
GOSSIP_IO_DEBUG
},
/* Debug the server's open file descriptor cache */
{
"open_cache"
,
GOSSIP_DBPF_OPEN_CACHE_DEBUG
},
/* Debug permissions checking on the server */
{
"permissions"
,
GOSSIP_PERMISSIONS_DEBUG
},
/* Debug the cancel operation */
{
"cancel"
,
GOSSIP_CANCEL_DEBUG
},
/* Debug the msgpair state machine */
{
"msgpair"
,
GOSSIP_MSGPAIR_DEBUG
},
/* Debug the client core app */
{
"clientcore"
,
GOSSIP_CLIENTCORE_DEBUG
},
/* Debug the client timing state machines (job timeout, etc.) */
{
"clientcore_timing"
,
GOSSIP_CLIENTCORE_TIMING_DEBUG
},
/* network encoding */
{
"endecode"
,
GOSSIP_ENDECODE_DEBUG
},
/* Show server file (metadata) accesses (both modify and read-only). */
{
"access"
,
GOSSIP_ACCESS_DEBUG
},
/* Show more detailed server file accesses */
{
"access_detail"
,
GOSSIP_ACCESS_DETAIL_DEBUG
},
/* Debug the listeattr operation */
{
"listeattr"
,
GOSSIP_LISTEATTR_DEBUG
},
/* Debug the state machine management code */
{
"sm"
,
GOSSIP_STATE_MACHINE_DEBUG
},
/* Debug the metadata dbpf keyval functions */
{
"keyval"
,
GOSSIP_DBPF_KEYVAL_DEBUG
},
/* Debug the metadata sync coalescing code */
{
"coalesce"
,
GOSSIP_DBPF_COALESCE_DEBUG
},
/* Display the hostnames instead of IP addrs in debug output */
{
"access_hostnames"
,
GOSSIP_ACCESS_HOSTNAMES
},
/* Show the client device events */
{
"user_dev"
,
GOSSIP_USER_DEV_DEBUG
},
/* Debug the fsck tool */
{
"fsck"
,
GOSSIP_FSCK_DEBUG
},
/* Debug the bstream code */
{
"bstream"
,
GOSSIP_BSTREAM_DEBUG
},
/* Debug trove in direct io mode */
{
"directio"
,
GOSSIP_DIRECTIO_DEBUG
},
/* Debug direct io thread management */
{
"mgmt"
,
GOSSIP_MGMT_DEBUG
},
/* Debug mirroring process */
{
"mirror"
,
GOSSIP_MIRROR_DEBUG
},
/* Windows client */
{
"win_client"
,
GOSSIP_WIN_CLIENT_DEBUG
},
/* Debug robust security code */
{
"security"
,
GOSSIP_SECURITY_DEBUG
},
/* Capability Cache */
{
"seccache"
,
GOSSIP_SECCACHE_DEBUG
},
/* Client User Interface */
{
"usrint"
,
GOSSIP_USRINT_DEBUG
},
/* rcache */
{
"rcache"
,
GOSSIP_RCACHE_DEBUG
},
/* Everything except the periodic events. Useful for debugging */
{
"verbose"
,
(
__DEBUG_ALL
&
~
(
GOSSIP_PERFCOUNTER_DEBUG
|
GOSSIP_STATE_MACHINE_DEBUG
|
GOSSIP_ENDECODE_DEBUG
|
GOSSIP_USER_DEV_DEBUG
))
},
/* No debug output */
{
"none"
,
GOSSIP_NO_DEBUG
},
/* Everything */
{
"all"
,
__DEBUG_ALL
}
};
#undef __DEBUG_ALL
/*
* Map all kmod keywords to kmod debug masks here. Keep this
* structure "packed":
...
...
@@ -286,7 +89,4 @@ static struct __keyword_mask_s s_kmod_keyword_mask_map[] = {
static
const
int
num_kmod_keyword_mask_map
=
(
int
)
(
sizeof
(
s_kmod_keyword_mask_map
)
/
sizeof
(
struct
__keyword_mask_s
));
static
const
int
num_keyword_mask_map
=
(
int
)
(
sizeof
(
s_keyword_mask_map
)
/
sizeof
(
struct
__keyword_mask_s
));
#endif
/* __ORANGEFS_DEBUG_H */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录