Initiate heavy sweep in MFTSubnSet fails during idle time process
PATCH 1/1 Initiate heavy sweep in MFTSubnSet fails during idle time process
MFTSubnSet failed MADs may leave temporary MC loops in the fabric. In order to eliminate this faulty state as quick as possible it's a good thing to initiate a heavy sweep immediately and to wait for the next light sweep.
--- opensm/osm_state_mgr.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)
opensm/osm_state_mgr.c +7 -0
@@ -1434,6 +1434,13 @@ static void do_process_mgrp_queue(osm_sm_t * sm)osm_mcast_mgr_process (sm);wait_for_pending_transactions (&sm->p_subn->p_osm->stats); } + +/* if one or more MFTSubnSet MADs fails +* during idle process time initiate heavy sweep */ +if (sm->p_subn->force_heavy_sweep + || sm->p_subn->subnet_initialization_error) +osm_sm_signal (sm,OSM_SIGNAL_SWEEP ); + } void osm_state_mgr_process(IN osm_sm_t * sm, IN osm_signal_t signal)
Signature · 8 lines
1.7.5 -- Alex -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 20110512161443.GC22389-iQai9MGU/dyyaiaB+Ve85laTQe2KTcn/@public.gmane.org
Hi Alex,
Quoted 15 lines · Alex Netes
MFTSubnSet failed MADs may leave temporary MC loops in the fabric. In order to eliminate this faulty state as quick as possible it's a good thing to initiate a heavy sweep immediately and to wait for the next light sweep.
--- opensm/osm_state_mgr.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)opensm/osm_state_mgr.c +0
-0
opensm/osm_state_mgr.c static void do_process_mgrp_queue(osm_sm_t * sm) · line 1442
Quoted 9 lines
opensm/osm_state_mgr.c +6
-0@@ -1434,6 +1434,13 @@ static void do_process_mgrp_queue(osm_sm_t * sm)osm_mcast_mgr_process (sm);wait_for_pending_transactions (&sm->p_subn->p_osm->stats); } + +/* if one or more MFTSubnSet MADs fails +* during idle process time initiate heavy sweep */ +if (sm->p_subn->force_heavy_sweep + || sm->p_subn->subnet_initialization_error) +osm_sm_signal (sm,OSM_SIGNAL_SWEEP );
subnet_initialization_error is more than just set MFT failures. Should it be narrowed down to just those failures ?
Also, while this looks like it would fix the scenario you mention, couldn't this change cause a continual heavy sweep ?
-- Hal
opensm/osm_state_mgr.c static void do_process_mgrp_queue(osm_sm_t * sm) · line 1446
Quoted 4 lines
opensm/osm_state_mgr.c +1
-0+ } void osm_state_mgr_process(IN osm_sm_t * sm, IN osm_signal_t signal)
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Hal,
Quoted 22 lines · Hal Rosenstock
Hi Alex,
Quoted 19 lines · Alex Netes
MFTSubnSet failed MADs may leave temporary MC loops in the fabric. In order to eliminate this faulty state as quick as possible it's a good thing to initiate a heavy sweep immediately and to wait for the next light sweep.
--- opensm/osm_state_mgr.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)opensm/osm_state_mgr.c +1
-0@@ -1434,6 +1434,13 @@ static void do_process_mgrp_queue(osm_sm_t * sm)osm_mcast_mgr_process (sm);wait_for_pending_transactions (&sm->p_subn->p_osm->stats); } +
Quoted 9 lines
opensm/osm_state_mgr.c static void do_process_mgrp_queue(osm_sm_t * sm) · line 1442
Quoted 5 lines
opensm/osm_state_mgr.c +5
-0+/* if one or more MFTSubnSet MADs fails +* during idle process time initiate heavy sweep */ +if (sm->p_subn->force_heavy_sweep + || sm->p_subn->subnet_initialization_error) +osm_sm_signal (sm,OSM_SIGNAL_SWEEP );
subnet_initialization_erroris more than just set MFT failures. Should it be narrowed down to just those failures ?
Do you mean, just resend the MFTs without causing heavy sweep?
Quoted 3 lines
Also, while this looks like it would fix the scenario you mention, couldn't this change cause a continual heavy sweep ?
Yes. This can cause continual heavy sweep. But this would happen anyway. This patch initiate heavy sweep immediately and without it, the heavy sweep would be started on the next light sweep. In both cases you can end up in heavy sweep loop.
Quoted 11 lines
-- Hal
opensm/osm_state_mgr.c static void do_process_mgrp_queue(osm_sm_t * sm) · line 1446
Quoted 4 lines
opensm/osm_state_mgr.c +1
-0+ } void osm_state_mgr_process(IN osm_sm_t * sm, IN osm_signal_t signal)--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 5 lines
-- Alex -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html