Whamcloud - gitweb
Branch b_head_quota
authorfanyong <fanyong>
Sat, 15 Nov 2008 15:33:22 +0000 (15:33 +0000)
committerfanyong <fanyong>
Sat, 15 Nov 2008 15:33:22 +0000 (15:33 +0000)
b=13058
i=nikita.danilov
i=johann
i=robert.read

Debug patch for quota on HEAD.

libcfs/include/libcfs/libcfs_debug.h
libcfs/libcfs/debug.c
lnet/utils/debug.c

index 379bc9c..8487c39 100644 (file)
@@ -103,7 +103,7 @@ struct ptldebug_header {
 #define S_ECHO        0x00008000
 #define S_LDLM        0x00010000
 #define S_LOV         0x00020000
 #define S_ECHO        0x00008000
 #define S_LDLM        0x00010000
 #define S_LOV         0x00020000
-/* unused */
+#define S_LQUOTA      0x00040000
 /* unused */
 /* unused */
 /* unused */
 /* unused */
 /* unused */
 /* unused */
index dd40428..0728759 100644 (file)
@@ -162,6 +162,8 @@ libcfs_debug_subsys2str(int subsys)
                 return "ldlm";
         case S_LOV:
                 return "lov";
                 return "ldlm";
         case S_LOV:
                 return "lov";
+        case S_LQUOTA:
+                return "lquota";
         case S_LMV:
                 return "lmv";
         case S_SEC:
         case S_LMV:
                 return "lmv";
         case S_SEC:
index 2b85a04..801ba95 100644 (file)
@@ -61,7 +61,7 @@ static const char *libcfs_debug_subsystems[] =
          "ost", "class", "log", "llite",
          "rpc", "mgmt", "lnet", "lnd",
          "pinger", "filter", "", "echo",
          "ost", "class", "log", "llite",
          "rpc", "mgmt", "lnet", "lnd",
          "pinger", "filter", "", "echo",
-         "ldlm", "lov", "", "",
+         "ldlm", "lov", "lquota", "",
          "", "", "", "lmv",
          "", "sec", "gss", "", 
          "mgc", "mgs", "fid", "fld", NULL};
          "", "", "", "lmv",
          "", "sec", "gss", "", 
          "mgc", "mgs", "fid", "fld", NULL};