Whamcloud - gitweb
LU-5814 lov: remove LSM from struct lustre_md 22/13722/9
authorJohn L. Hammond <john.hammond@intel.com>
Fri, 5 Jun 2015 17:03:56 +0000 (01:03 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 16 Jun 2015 08:46:15 +0000 (08:46 +0000)
commit5ccd7a4a556b1a847eb5bff8b2395522a6f4bca8
tree47e8d204e54084a010c3d9164153172acceaa836
parent339c7b9aca0d8de400a7deade68ffdb62c97adae
LU-5814 lov: remove LSM from struct lustre_md

In struct lustre_md replace the stuct lov_stripe_md *lsm member with
an opaque struct lu_buf layout which holds the layout metadata
returned by the server. Refactor the LOV object initialization and
layout change code to accommodate this. Simplify lov_unpackmd() and
supporting functions according to the reduced number of use cases.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Iac44ba479556693932bae0b9878565155b609e07
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-on: http://review.whamcloud.com/13722
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
12 files changed:
lustre/include/cl_object.h
lustre/include/obd.h
lustre/llite/file.c
lustre/llite/lcommon_cl.c
lustre/llite/llite_lib.c
lustre/llite/namei.c
lustre/lov/lov_ea.c
lustre/lov/lov_internal.h
lustre/lov/lov_obd.c
lustre/lov/lov_object.c
lustre/lov/lov_pack.c
lustre/mdc/mdc_request.c