Whamcloud - gitweb
LU-80 utils: Large stripe support
authorJames Simmons <uja.ornl@gmail.com>
Tue, 10 Jan 2012 13:59:23 +0000 (08:59 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 19 Jan 2012 22:11:37 +0000 (17:11 -0500)
commit4072f026a706fcabb9b8cbaec4dcd534e9de7c95
tree934f0f1e3711e5cfc290151607ece2e6c10e727e
parentc42ad03831f4c564c8125f42a18ae7d700d6a3f5
LU-80 utils: Large stripe support

Currently a file can be stripped across OSTs up to a limit of
160 stripes due to the ldiskfs xattr size limit of 4096 bytes.
This limit will be increased to 2000 stripes or more by increasing
the maximum xattr size for the MDT.

During testing, issues emerged with clients that are not expecting
more than 160 stripes. This patch allows clients to interoperate with
servers that do not support large xattrs, and also servers with
support with at least 2000 stripes, though it is intended not to have
any hard upper limit.

Change-Id: Idbaeb98919aea6b4cd375b881ed87661034d9394
Signed-off-by: James Simmons <uja.ornl@gmail.com>
Reviewed-on: http://review.whamcloud.com/1194
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Yu Jian <yujian@whamcloud.com>
lustre/include/lustre/liblustreapi.h
lustre/llite/lproc_llite.c
lustre/utils/lfs.c
lustre/utils/liblustreapi.c
lustre/utils/obd.c