X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Flod%2Flod_object.c;h=fc9efb5362e09a69acced049d29ada07c329a252;hp=0c2c7e77febbaba4f0cb2e85c2aaca7a2591c2e1;hb=e7d91d9b8cf291d638857b6bd904469b46d1273a;hpb=12333c1fecc00ed67597f189715a68cbfea7b287;ds=sidebyside diff --git a/lustre/lod/lod_object.c b/lustre/lod/lod_object.c index 0c2c7e7..fc9efb5 100644 --- a/lustre/lod/lod_object.c +++ b/lustre/lod/lod_object.c @@ -2075,7 +2075,7 @@ static int lod_mdt_alloc_specific(const struct lu_env *env, int rc; master_index = lu_site2seq(lod2lu_dev(lod)->ld_site)->ss_node_id; - if (stripe_count > 1) + if (!is_specific && stripe_count > 1) /* Set the start index for the 2nd stripe allocation */ mdt_indices[1] = (mdt_indices[0] + 1) % (lod->lod_remote_mdt_count + 1);