Whamcloud - gitweb
LU-8922 lod: check master stripes properly 47/24247/2
authorDi Wang <di.wang@intel.com>
Thu, 8 Dec 2016 09:55:26 +0000 (04:55 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 1 Jan 2017 01:57:41 +0000 (01:57 +0000)
commit1be03a1088d2aa583c2651435634ba336b48f939
treea2e32874c9cacbf2a396eeb61bbdee3da598f36e
parente760042016bb5b12f9b21568304c02711930720f
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.

Signed-off-by: Di Wang <di.wang@intel.com>
Change-Id: I089f5cf517c71816151e8ece1b36b9064ee3b7f2
Reviewed-on: https://review.whamcloud.com/24247
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: Lai Siyao <lai.siyao@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