Whamcloud - gitweb
b=20562 Increasing super sequence width so that there will be lesser update to fld...
[fs/lustre-release.git] / lustre / include / lustre_fid.h
index 926e3e6..414d562 100644 (file)
 #ifndef __LINUX_FID_H
 #define __LINUX_FID_H
 
+/** \defgroup fid fid
+ *
+ * @{
+ */
+
 /*
  * struct lu_fid
  */
@@ -78,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. */
@@ -92,6 +97,9 @@ enum {
  * used sparingly until ldiskfs-based MDT backends and/or IGIF FIDs 
  * have been completely removed. */
 
+/** fid sequence for distributed fs objects */
+#define FID_SEQ_DISTRIBUTED_START     (FID_SEQ_START + 0x400ULL)
+
 /** special OID for local objects */
 enum {
         /** \see osd_oi_index_create */
@@ -344,4 +352,6 @@ static inline void range_be_to_cpu(struct lu_seq_range *dst, const struct lu_seq
         dst->lsr_mdt = be32_to_cpu(src->lsr_mdt);
 }
 
+/** @} fid */
+
 #endif /* __LINUX_FID_H */