GOTO(out_free, sb = NULL);
}
- /* First the MDS since an LOV requires an the MDC connection
- to find its descriptor */
#if 0
err = connmgr_connect(ptlrpc_connmgr, sbi->ll_mds_conn);
if (err) {
}
sbi2mdc(sbi)->mdc_conn->c_level = LUSTRE_CONN_FULL;
- /* now the OST, which could be an LOV */
-
obd = class_uuid2obd(ost);
if (!obd) {
CERROR("OST %s: not setup or attached\n", ost);
GOTO(out_mdc, sb = NULL);
}
-#warning error: need to set obd->u.lov.mdc_connh from sbi->ll_mdc_conn
err = obd_connect(&sbi->ll_osc_conn, obd);
if (err) {
CERROR("cannot connect to %s: rc = %d\n", ost, err);