1 .TH llapi_layout_stripe_count_get 3 "2013 Oct 31" "Lustre User API"
3 llapi_layout_stripe_countget, llapi_layout_stripe_count_set \- get or set the
4 stripe size of a Lustre file
7 .B #include <lustre/lustreapi.h>
9 .BI "int llapi_layout_stripe_count_get(const struct llapi_layout *" layout ",
10 .BI " uint64_t *" stripe_count );
12 .BI "int llapi_layout_stripe_count_set(struct llapi_layout *" layout ",
13 .BI " uint64_t " stripe_count );
17 The stripe count of a Lustre file defines the number of OSTs used to
20 .B llapi_layout_stripe_count_get()
26 .B llapi_layout_stripe_count_get()
27 sets the stripe count of
35 .B LLAPI_LAYOUT_DEFAULT
36 means that the default stripe count will be used.
42 means that the file will be striped as widely as possible.
44 .B llapi_layout_stripe_count_get()
46 .B llapi_layout_stripe_count_set()
47 return 0 on success, or -1 if an error occurred (in which case, errno is
52 An invalid argument was specified.
54 .BR llapi_layout_alloc (3),
55 .BR llapi_layout_file_open (3),