X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fobdclass%2Fobd_mount.c;h=865b45146d66297ba0872a12a2400430da746694;hb=8c95bfb0140ca5aadd3fe73a4f69d6b2373cc066;hp=4c82860c0bc157ba65e3008be66eb6d9f24a7bae;hpb=f424516984cd4e1aab0dc2070b971744c9ff811b;p=fs%2Flustre-release.git diff --git a/lustre/obdclass/obd_mount.c b/lustre/obdclass/obd_mount.c index 4c82860..865b451 100644 --- a/lustre/obdclass/obd_mount.c +++ b/lustre/obdclass/obd_mount.c @@ -1286,6 +1286,9 @@ static int client_osp_config_process(const struct lu_env *env, case LCFG_ADD_UUID: { if (clli->cfg_flags == CFG_F_MARKER) { rc = lustre_osp_setup(lcfg, lsi); + /* XXX: process only the first nid as + * we don't need another instance of osp */ + clli->cfg_flags |= CFG_F_SKIP; } else if (clli->cfg_flags == (CFG_F_MARKER | CFG_F_SKIP)) { rc = class_add_uuid(lustre_cfg_string(lcfg, 1), lcfg->lcfg_nid);