1 .TH llapi_layout_stripe_size_get 3 "2013 Oct 31" "Lustre User API"
3 llapi_layout_stripe_size_get, llapi_layout_stripe_size_set \- get or set the
4 stripe count of a Lustre file
7 .B #include <lustre/lustreapi.h>
9 .BI "int llapi_layout_stripe_size_get(const struct llapi_layout *" layout ",
10 .BI " uint64_t *" stripe_size );
12 .BI "int llapi_layout_stripe_size_set(struct llapi_layout *" layout ",
13 .BI " uint64_t " stripe_size );
17 The stripe size indicates how much data to write to one OST before
18 moving to the next OST.
20 .B llapi_layout_stripe_size_get()
26 .B llapi_layout_stripe_size_get()
27 sets the stripe size of
35 .B LLAPI_LAYOUT_DEFAULT
36 means that the default stripe size will be used.
38 .B llapi_layout_stripe_size_get()
40 .B llapi_layout_stripe_size_set()
41 return 0 on success, or -1 if an error occurred (in which case, errno is
46 An invalid argument was specified.
48 .BR llapi_layout_alloc (3),
49 .BR llapi_layout_file_open (3),
50 .BR llapi_layout_extension_size_set (3),
51 .BR llapi_layout_extension_size_get (3),