Whamcloud - gitweb
LU-2645 ldlm: use correct lvb size to reply 1.8 lock enqueue
authorFan Yong <yong.fan@whamcloud.com>
Tue, 5 Feb 2013 16:38:04 +0000 (00:38 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 5 Mar 2013 15:18:55 +0000 (10:18 -0500)
commit5c8853a32d3076ad89266dfc4af9a1f0848ef740
treeb41e00bd136f24c2e5419637ff5472fd0828305e
parentfe3a9e410c937a2552a7dd948a4fbca4905e63ed
LU-2645 ldlm: use correct lvb size to reply 1.8 lock enqueue

For 1.8 client, it does not support variable-sized LVB.
The 2.4 server should correctly distinguish whether the
client support it or not, and fill the reply buffer with
suitable LVB size when processing lock enqueue.

Test-Parameters: envdefinitions=SLOW=yes,ENABLE_QUOTA=yes \
clientjob=lustre-b1_8 clientbuildno=256 testlist=runtests

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I9241efe25dc64b26e86c4e75da72ab74bb1bc750
Reviewed-on: http://review.whamcloud.com/5459
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ofd/ofd_lvb.c