Whamcloud - gitweb
LU-1789 protocol: reserve connect flag for lightweight conn
authorJohann Lombardi <johann@whamcloud.com>
Tue, 4 Sep 2012 07:52:00 +0000 (09:52 +0200)
committerOleg Drokin <green@whamcloud.com>
Tue, 30 Oct 2012 23:02:58 +0000 (19:02 -0400)
Reserve connection flag for lightweight connection support.
Although this feature will never be supported on 2.1, it still avoids
flag conflicts.

Signed-off-by: Johann Lombardi <johann@whamcloud.com>
Change-Id: I1b943579d8c46cce0d70a5df45d35874bf63b29b
Reviewed-on: http://review.whamcloud.com/3853
Tested-by: Hudson
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre/lustre_idl.h
lustre/obdclass/lprocfs_status.c

index c7d80f2..1db06a6 100644 (file)
@@ -1109,9 +1109,9 @@ extern void lustre_swab_ptlrpc_body(struct ptlrpc_body *pb);
                                                   * write RPC error properly */
 #define OBD_CONNECT_GRANT_PARAM 0x100000000000ULL/* extra grant params used for
                                                   * finer space reservation */
-#define OBD_CONNECT_NANOSECOND_TIMES 0x200000000000ULL /* nanosec resolution
-                                                        * timestamps supported
-                                                        */
+#define OBD_CONNECT_NANOSEC_TIME 0x200000000000ULL /* nanosecond timestamps */
+#define OBD_CONNECT_LVB_TYPE     0x400000000000ULL /* variable type of LVB */
+#define OBD_CONNECT_LIGHTWEIGHT 0x1000000000000ULL /* lightweight connection */
 /* XXX README XXX:
  * Please DO NOT add flag values here before first ensuring that this same
  * flag value is not in use on some other branch.  Please clear any such
index 9cee976..9808db6 100644 (file)
@@ -823,6 +823,10 @@ static const char *obd_connect_names[] = {
         "umask",
         "einprogress",
         "grant_param",
+        "nanoseconds_times",
+        "lvb_type",
+        "unknown",
+        "lightweight_conn",
         NULL
 };