Whamcloud - gitweb
LU-4008 mdt: Use actual size for layout lock intents 71/9571/6
authorMatt Ezell <ezellma@ornl.gov>
Tue, 25 Mar 2014 12:31:56 +0000 (08:31 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 11 Apr 2014 19:22:01 +0000 (19:22 +0000)
commit586a609c9d5a53e75174b66269c685f594ded7c2
tree9babbe7c650320187a6dff3e394d65888ccba6a6
parent00260466f9c84f21e6db55d5dd6e87e8a9906438
LU-4008 mdt: Use actual size for layout lock intents

The intent for layout looks up the size of the lov xattr. That size
should be used for the reply buffer instead of the maximum size ever
seen.

Signed-off-by: Matt Ezell <ezellma@ornl.gov>
Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: I9550aa47313502288b018f5cac0d59931ce76d21
Reviewed-on: http://review.whamcloud.com/9571
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
lustre/mdt/mdt_handler.c