Whamcloud - gitweb
b=16823
authorgreen <green>
Thu, 13 Nov 2008 02:16:03 +0000 (02:16 +0000)
committergreen <green>
Thu, 13 Nov 2008 02:16:03 +0000 (02:16 +0000)
r=adilger,shadow

Remove 4G limit for stripe_size * num_stripes.
4G limit on stripe_size is still in place, though.

lustre/include/lustre/lustre_idl.h

index 7114156..05e31d8 100644 (file)
@@ -1486,7 +1486,8 @@ struct lustre_capa {
  *  LOV data structures
  */
 
-#define LOV_MIN_STRIPE_SIZE 65536   /* maximum PAGE_SIZE (ia64), power of 2 */
+#define LOV_MIN_STRIPE_BITS 16   /* maximum PAGE_SIZE (ia64), power of 2 */
+#define LOV_MIN_STRIPE_SIZE (1<<LOV_MIN_STRIPE_BITS)
 #define LOV_MAX_STRIPE_COUNT  160   /* until bug 4424 is fixed */
 #define LOV_V1_INSANE_STRIPE_COUNT 65532 /* maximum stripe count bz13933 */