Whamcloud - gitweb
LU-7074 mdd: validate the linkea before packing 35/16235/13
authorwang di <di.wang@intel.com>
Wed, 2 Sep 2015 10:51:28 +0000 (03:51 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 7 Oct 2015 17:40:12 +0000 (17:40 +0000)
commit4d4771b8efbecf530f3079f0681b896aede0e353
tree64515f12840b86983a755a3d669b86721258aefa
parentadce06a1c31cfd39f11353f5bbf691dbc72d8783
LU-7074 mdd: validate the linkea before packing

During migration, let's validate linkea entry before
packing the updates into the buffer and sending to
the remote MDT.

And also move retrieving linkea before transaction
start to avoiding sending RPC inside the transaction.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I36f235274d39560f6654fd76967e45400e8187ce
Reviewed-on: http://review.whamcloud.com/16235
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdd/mdd_dir.c