Whamcloud - gitweb
LU-8922 lod: check master stripes properly 76/24776/5
authorDi Wang <di.wang@intel.com>
Mon, 9 Jan 2017 15:07:36 +0000 (10:07 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 26 Apr 2017 03:36:45 +0000 (03:36 +0000)
commit6dff2ce3ec91fe67c78bacdf00a708fdc97cb3d2
treee1e30ce99e1c0c28e574d15140943026f4c8cca9
parentfda19c748016c9f57f71278b597fd8a651268f66
LU-8922 lod: check master stripes properly

When creating striped directory, it should
first check if the stripe has been created
on the current MDT, otherwise it might create
duplicate stripes on the master MDT, especially
when one MDT is deactived, and specified stripes
is larger than the active MDTs.

Test-Parameters: envdefinitions=ONLY=50 testlist=conf-sanity,conf-sanity,conf-sanity
Test-Parameters: envdefinitions=ONLY=50 testlist=conf-sanity,conf-sanity,conf-sanity
Signed-off-by: Di Wang <di.wang@intel.com>
Change-Id: Id3bba2817c4c7c9584f9129e32555f0f676b3364
Reviewed-on: https://review.whamcloud.com/24776
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lod/lod_object.c
lustre/mgs/mgs_llog.c
lustre/tests/conf-sanity.sh
lustre/tests/test-framework.sh