Whamcloud - gitweb
b=20562 Increasing super sequence width so that there will be lesser update to fld...
authorpravin <Pravin.Shelar@sun.com>
Mon, 5 Apr 2010 18:50:26 +0000 (11:50 -0700)
committerRobert Read <robert.read@oracle.com>
Mon, 5 Apr 2010 18:50:26 +0000 (11:50 -0700)
We can not increase LUSTRE_SEQ_META_WIDTH, meta sequence is allocated to client
and client can loose it in case of crash and there is no recovery mechanism.
MDT can not loose super sequence as it is stored on MDT disk.

i=andreas.dilger
i=tappro

lustre/include/lustre_fid.h

index 0b18f23..414d562 100644 (file)
@@ -83,7 +83,7 @@ enum {
          * This is how many sequences may be in one super-sequence allocated to
          * MDTs.
          */
-        LUSTRE_SEQ_SUPER_WIDTH = (LUSTRE_SEQ_META_WIDTH * LUSTRE_SEQ_META_WIDTH)
+        LUSTRE_SEQ_SUPER_WIDTH = ((1<< 30) * LUSTRE_SEQ_META_WIDTH)
 };
 
 /** special fid seq: used for local object create. */