1 .TH llapi_layout_comp_flags_get 3 "2015 Nov 4" "Lustre User API"
3 llapi_layout_comp_flags_get, llapi_layout_comp_flags_set,
4 llapi_layout_comp_flags_clear \- get, set or clear the flags of a layout
8 .B #include <lustre/lustreapi.h>
10 .BI "int llapi_layout_comp_flags_get(const struct llapi_layout *" layout ",
11 .BI " uint32_t *" flags );
13 .BI "int llapi_layout_comp_flags_set(struct llapi_layout *" layout ",
14 .BI " uint32_t " flags );
16 .BI "int llapi_layout_comp_flags_clear(struct llapi_layout *" layout ",
17 .BI " uint32_t " flags );
21 Layout component flags are used to indicate the status of the component, only
22 LCME_FL_INIT is supported now, which indicates the OST objects of the component
23 have been initialized.
25 .BR llapi_layout_comp_flags_get (3)
31 .BR llapi_layout_comp_flags_set (3)
37 .BR llapi_layout_comp_flags_clear (3)
43 Return 0 on success, or -1 if an error occurred (in which case, errno is
48 An invalid argument was specified.
50 .BR llapi_layout_alloc (3),
51 .BR llapi_layout_file_open (3),