On Thu, 2014-03-13 at 13:09 -0500, John Bauer wrote:
I am using the llapi_file_get_stripe() function.
The second arguement is
struct lov_user_md_v1 {
__u32 lmm_magic;
__u32 lmm_pattern;
__u64 lmm_object_id;
__u64 lmm_object_seq;
__u32 lmm_stripe_size;
__u16 lmm_stripe_count;
__u16 lmm_stripe_offset;
struct lov_user_ost_data_v1 lmm_objects[0];
}
How do I indicate to the kernel how many elements are in the lmn_objects[] array?
Or, How do I know how large to make the array?
Does the example here help?:
http://build.whamcloud.com/job/lustre-manual/lastSuccessfulBuild/artifact...
What is the largest number of OST's that a file can be striped
across?
For a related discussion, you can see this ticket:
https://jira.hpdd.intel.com/browse/LU-1707
best regards,
Richard
--
Richard.Henwood(a)intel.com
High Performance Data Division