Whamcloud - gitweb
LU-3345 llapi: add user space method for lov_user_md
authorjcl <jacques-charles.lafoucriere@cea.fr>
Wed, 15 May 2013 11:16:41 +0000 (13:16 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 10 Jun 2013 23:22:20 +0000 (19:22 -0400)
commit9ead7830a599e94abd819c94f41ef4e6fb06d289
treef54c745d6460060bd3cb8e8e217e647d9518cc44
parentc42672d425d15a89257d6ec7f2bae0f547f4c279
LU-3345 llapi: add user space method for lov_user_md

move lov_mds_md_size from obd_lov.h to lustre_idl.h
to have it close to lov_mds_md definition.

add lov_user_md_size() to compute lum size so
llapi and user space utils do not use kernel internal
definitions/methods

Signed-off-by: JC Lafoucriere <jacques-charles.lafoucriere@cea.fr>
Change-Id: I01825efb4521bf90293239054a32fd66f85bcaf2
Reviewed-on: http://review.whamcloud.com/6345
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/include/lustre/lustre_idl.h
lustre/include/lustre/lustre_user.h
lustre/include/obd_lov.h
lustre/tests/ll_dirstripe_verify.c
lustre/utils/lfs.c
lustre/utils/liblustreapi.c