Commit 9581c2c4 authored by Fan Yong's avatar Fan Yong Committed by Greg Kroah-Hartman

staging: lustre: add debugging ability for LFSCK

Add the ability to debug LFSCK to libcfs. This is
broken out of patch http://review.whamcloud.com/6321.
Signed-off-by: default avatarFan Yong <fan.yong@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2914
Reviewed-on: http://review.whamcloud.com/6321Reviewed-by: default avatarAlex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: default avatarAndreas Dilger <andreas.dilger@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a161de86
...@@ -106,7 +106,7 @@ struct ptldebug_header { ...@@ -106,7 +106,7 @@ struct ptldebug_header {
#define S_LOV 0x00020000 #define S_LOV 0x00020000
#define S_LQUOTA 0x00040000 #define S_LQUOTA 0x00040000
#define S_OSD 0x00080000 #define S_OSD 0x00080000
/* unused */ #define S_LFSCK 0x00100000
/* unused */ /* unused */
/* unused */ /* unused */
#define S_LMV 0x00800000 /* b_new_cmd */ #define S_LMV 0x00800000 /* b_new_cmd */
......
...@@ -271,6 +271,8 @@ libcfs_debug_subsys2str(int subsys) ...@@ -271,6 +271,8 @@ libcfs_debug_subsys2str(int subsys)
return "lquota"; return "lquota";
case S_OSD: case S_OSD:
return "osd"; return "osd";
case S_LFSCK:
return "lfsck";
case S_LMV: case S_LMV:
return "lmv"; return "lmv";
case S_SEC: case S_SEC:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment