From a2c850e02d50b8c10187b48486eedea6db5ad06d Mon Sep 17 00:00:00 2001 From: Tsubasa Yanagibashi Date: Fri, 14 Feb 2020 17:52:56 +0900 Subject: [PATCH] osc/sm: fix typo and minor correction - fix a typo `alloc_shared_contig` to `alloc_shared_noncontig` - correct the value of `blocking_fence` Signed-off-by: Tsubasa Yanagibashi (cherry picked from commit a07a83d1899f8b65bbcdb71e681f4ca8f2109375) --- ompi/mca/osc/sm/osc_sm_component.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ompi/mca/osc/sm/osc_sm_component.c b/ompi/mca/osc/sm/osc_sm_component.c index f8a5f87b63..03a1e949bd 100644 --- a/ompi/mca/osc/sm/osc_sm_component.c +++ b/ompi/mca/osc/sm/osc_sm_component.c @@ -11,6 +11,7 @@ * of Tennessee Research Foundation. All rights * reserved. * Copyright (c) 2016-2017 IBM Corporation. All rights reserved. + * Copyright (c) 2020 FUJITSU LIMITED. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -204,7 +205,7 @@ component_select(struct ompi_win_t *win, void **base, size_t size, int disp_unit OBJ_CONSTRUCT(&module->lock, opal_mutex_t); - ret = opal_infosubscribe_subscribe(&(win->super), "alloc_shared_contig", "false", component_set_alloc_shared_noncontig_info); + ret = opal_infosubscribe_subscribe(&(win->super), "alloc_shared_noncontig", "false", component_set_alloc_shared_noncontig_info); if (OPAL_SUCCESS != ret) goto error; @@ -418,7 +419,7 @@ component_select(struct ompi_win_t *win, void **base, size_t size, int disp_unit #endif } - ret = opal_infosubscribe_subscribe(&(win->super), "blocking_fence", "false", + ret = opal_infosubscribe_subscribe(&(win->super), "blocking_fence", module->global_state->use_barrier_for_fence ? "true" : "false", component_set_blocking_fence_info); if (OPAL_SUCCESS != ret) goto error;