Whamcloud - gitweb
LU-5100 llite: set dir LOV xattr length variable 53/10453/4
authorHongchao Zhang <hongchao.zhang@intel.com>
Fri, 9 May 2014 16:53:14 +0000 (00:53 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 3 Jun 2014 15:58:36 +0000 (15:58 +0000)
commitc8e9b796ff28a107c2f65e6857bf0a48266ed18f
treea293fd0a2267c722fae4ecbaf22fc3488ec70b9e
parent9b73c8620bdc56985ef3ab7aa1c5aaafee62c50d
LU-5100 llite: set dir LOV xattr length variable

the LOV xattr of directory could be either lov_user_md_v1
(size is 32) or lov_user_md_v3 (size is 48), then the actual
size of the LOV xattr should be return.

this patch also changes lod_verify_stripe to make it to accept
lov stripe from user and it's "pattern" is "LOV_PATTERN_RAID0".

Change-Id: I1ccba6da19aef0b7464c43b1b50871df44ce0eb7
Signed-off-by: Hongchao Zhang <hongchao.zhang@intel.com>
Reviewed-on: http://review.whamcloud.com/10453
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: jacques-Charles Lafoucriere <jacques-charles.lafoucriere@cea.fr>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/xattr.c
lustre/lod/lod_internal.h
lustre/lod/lod_lov.c
lustre/lod/lod_object.c