Whamcloud - gitweb
LU-5024 mdc: don't assert on name pack 61/29161/5
authorLai Siyao <lai.siyao@intel.com>
Fri, 22 Sep 2017 02:42:07 +0000 (10:42 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 22 Nov 2017 03:55:34 +0000 (03:55 +0000)
commitdd9d7cc845dfd2853498091573b7e13a0a35c161
tree5d1be99cdbcf865132c34000c1610859af6a64a3
parent3f0a7241c434d9556308299eea069628715816c2
LU-5024 mdc: don't assert on name pack

For old version of MDTs which don't support ATTRFID, open will pack
dentry name in the request, but this name may change if there is
concurrent rename, as a result an assertion will be triggerred.

It's inconvenient to copy name in advance or take dentry lock in the
call chain, so It's better to remove this assert, which is safe.

Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Change-Id: I58d8b8fbbd8057aa2e8618e8923d0432f31dac96
Reviewed-on: https://review.whamcloud.com/29161
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/mdc/mdc_lib.c