don't skip uninitialized component during declaration as we need
to declare potential records to llogs if the component is created
in this transaction later.
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: Ia1cbfaae9b28e40fd68fa125d748ec0b5319f512
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54302
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
/* has stripe but not inited yet, this component has been
* declared to be created, but hasn't created yet.
*/
- if (!lod_comp_inited(lod_comp))
+ if (!lod_comp_inited(lod_comp) && !data->locd_declare)
continue;
if (data->locd_comp_skip_cb &&