Whamcloud - gitweb
LU-10465 lov: decrease default stripe size to 1MB 89/31589/2
authorJian Yu <jian.yu@intel.com>
Thu, 8 Mar 2018 19:08:59 +0000 (11:08 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 12 Mar 2018 14:16:44 +0000 (14:16 +0000)
Commit 3f5abc6fa30e7c0256077ccf6a149d1809450465 increased
the default stripe size from 1MB to 4MB. However, this
caused usability issue in LU-10786 for PFL/DoM files.

This patch changes the default stripe size back to 1MB
until we have a better method of handling DoM components.
Otherwise, it means that DoM files will not be created
easily with default settings.

Change-Id: Ie6b6fe97596ed65abec771b3f37afd950dc821c8
Signed-off-by: Jian Yu <jian.yu@intel.com>
Reviewed-on: https://review.whamcloud.com/31589
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/doc/lfs-setstripe.1
lustre/include/uapi/linux/lustre/lustre_idl.h

index cc9f036..12b904b 100644 (file)
@@ -130,7 +130,7 @@ over all available OSTs.
 .TP
 .B -S\fR, \fB--stripe-size \fR<\fIstripe_size\fR>
 The number of bytes to store on each OST before moving to the next OST. \fB0\fR
-means to use the filesystem-wide default stripe_size (default 4MB).
+means to use the filesystem-wide default stripe_size (default 1MB).
 .TP
 .B -i\fR, \fB--stripe-index \fR<\fIstart_ost_index\fR>
 The OST index (starting at 0) on which to start striping for this file. \fB-1\fR
index 5486f12..017931c 100644 (file)
@@ -2232,7 +2232,7 @@ enum lfsck_cmd {
 
 #define LOV_DESC_MAGIC 0xB0CCDE5C
 #define LOV_DESC_QOS_MAXAGE_DEFAULT 5  /* Seconds */
-#define LOV_DESC_STRIPE_SIZE_DEFAULT (4 << LNET_MTU_BITS)
+#define LOV_DESC_STRIPE_SIZE_DEFAULT (1 << LNET_MTU_BITS)
 
 /* LOV settings descriptor (should only contain static info) */
 struct lov_desc {