Whamcloud - gitweb
LU-5814 llite: add cl_object_maxbytes() 94/13694/8
authorJohn L. Hammond <john.hammond@intel.com>
Thu, 26 Mar 2015 04:00:26 +0000 (21:00 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 8 May 2015 06:45:19 +0000 (06:45 +0000)
commit94fe3dadb5774af0eb0fec6d21aa73a22ac4838c
treebbb6fe44f57d61cd517fb9a0c0a40c4558449344
parent3742646beeb658f321745f5c275836879b9d077d
LU-5814 llite: add cl_object_maxbytes()

Add cl_object_maxbytes() to return the maximum supported size of a
cl_object. Remove the lli_maxbytes member from struct
ll_inode_info. Change the lsm_maxbytes member of struct lov_stripe_md
from __u64 to loff_t. Correct the computation of lsm_maxbytes in the
released layout case.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: Idfa6d38ed1192d562f7d99bf21b924fd711f77dc
Reviewed-on: http://review.whamcloud.com/13694
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
lustre/include/cl_object.h
lustre/include/obd.h
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/lov/lov_ea.c
lustre/lov/lov_object.c
lustre/obdclass/cl_object.c