Whamcloud - gitweb
LU-5106 statahead: support striped directory 83/27683/3
authorLai Siyao <lai.siyao@intel.com>
Thu, 15 Jun 2017 17:09:12 +0000 (01:09 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 19 Jul 2017 03:28:56 +0000 (03:28 +0000)
commit9e7952c045a3ce2041a2fa325cc4a147be6549bb
tree155f43b5e6544f20badae1ca4cbd010caa9dfecc
parent4ad592fa06b0a793ad7f835bedd3e7744eeca7f8
LU-5106 statahead: support striped directory

Current statahead will getattr by fid, but for striped directory,
it needs to fix its parent fid to stripe fid, which needs file
name, so pack file name in md_op_data.

Remove check for remote dir check in lmv_intent_getattr_async(),
which is not necessary, and not checking it won't cause anything
wrong, while the code is simpler.

Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Change-Id: I275d866cb1ea157ef2b594ded0cc342264f0382c
Reviewed-on: https://review.whamcloud.com/27683
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
lustre/llite/statahead.c
lustre/lmv/lmv_obd.c