Whamcloud - gitweb
LU-14039 obdclass: set LA_TYPE when update_log init
Fix for LBUG:
osp_md_create()) ASSERTION( attr->la_valid & LA_TYPE ) failed:
osp_md_create()) LBUG
Pid: 6024, comm: lod0002_rec0001 3.10.0-1062.18.1.el7_lustre
Call Trace:
libcfs_call_trace+0x8c/0xc0 [libcfs]
lbug_with_loc+0x4c/0xa0 [libcfs]
osp_md_create+0x42a/0x470 [osp]
llog_osd_get_cat_list+0x8d4/0xbd0 [obdclass]
lod_sub_prep_llog+0xb9/0x783 [lod]
lod_sub_recovery_thread+0x383/0xcf0 [lod]
kthread+0xd1/0xe0
ret_from_fork_nospec_begin+0x7/0x21
Signed-off-by: Yang Sheng <ys@whamcloud.com>
Change-Id: I035f3f2da5dba54b86431cec65c48e9c5010224c
Reviewed-on: https://review.whamcloud.com/40264
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>