Whamcloud - gitweb
LU-4194 ldlm: set l_lvb_type coherent when layout is returned
authorBruno Faccini <bruno.faccini@intel.com>
Thu, 14 Nov 2013 16:20:00 +0000 (17:20 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 7 Feb 2014 04:14:48 +0000 (23:14 -0500)
commite2d57bc9690032757f21cbb28f97536279a434f4
tree41b0e7ab43137ae89e36173b6abbcb7d696c7fe0
parent55b89b38907c24938f16cd14743015240d455b87
LU-4194 ldlm: set l_lvb_type coherent when layout is returned

In case layout has been packed into server reply when not
requested, lock l_lvb_type must be set accordingly.

Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
Change-Id: Iaf54c9ba27785e529f4f2fb967d2fad4fc1dfbcb
Reviewed-on: http://review.whamcloud.com/8270
Tested-by: Jenkins
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
lustre/ldlm/ldlm_lockd.c
lustre/mdc/mdc_locks.c