Whamcloud - gitweb
This patch is to slove OSS hangs after "All ost request buffers busy"
[fs/lustre-release.git] / lustre / include / lustre / lustre_idl.h
index 149610b..38acc4d 100644 (file)
@@ -1416,4 +1416,10 @@ typedef enum {
 } quota_cmd_t;
 
 #define JOIN_FILE_ALIGN 4096
 } quota_cmd_t;
 
 #define JOIN_FILE_ALIGN 4096
+
+/* quota check function */
+#define QUOTA_RET_OK           0 /* return successfully */
+#define QUOTA_RET_NOQUOTA      1 /* not support quota */
+#define QUOTA_RET_NOLIMIT      2 /* quota limit isn't set */
+#define QUOTA_RET_ACQUOTA      3 /* need to acquire extra quota */
 #endif
 #endif