cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH] rgmanager: Fix bad passing of SFL_FAILURE up - RHEL5
@ 2011-06-23 17:46 Lon Hohberger
  2011-06-24 12:28 ` Fabio M. Di Nitto
  0 siblings, 1 reply; 2+ messages in thread
From: Lon Hohberger @ 2011-06-23 17:46 UTC (permalink / raw)
  To: cluster-devel.redhat.com

We were handling failures at the 'highest' independent subtree
level instead of lowest; this patch fixes that.

Resolves: rhbz#711521

Signed-off-by: Lon Hohberger <lhh@redhat.com>
---
 rgmanager/src/daemons/restree.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rgmanager/src/daemons/restree.c b/rgmanager/src/daemons/restree.c
index 697c7b1..4e5f3bc 100644
--- a/rgmanager/src/daemons/restree.c
+++ b/rgmanager/src/daemons/restree.c
@@ -1603,7 +1603,7 @@ _res_op_internal(resource_node_t __attribute__ ((unused)) **tree,
 		  and all our children as failed and return a flag stating
 		  that this section is recoverable apart from siblings in
 		  the resource tree. */
-		if (op == RS_STATUS && (rv & (SFL_FAILURE|SFL_RECOVERABLE)) &&
+		if (op == RS_STATUS && (rv & SFL_FAILURE) &&
 		    (node->rn_flags & RF_INDEPENDENT)) {
 
 			rte = restart_threshold_exceeded(node->rn_restart_counter);
-- 
1.7.3.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Cluster-devel] [PATCH] rgmanager: Fix bad passing of SFL_FAILURE up - RHEL5
  2011-06-23 17:46 [Cluster-devel] [PATCH] rgmanager: Fix bad passing of SFL_FAILURE up - RHEL5 Lon Hohberger
@ 2011-06-24 12:28 ` Fabio M. Di Nitto
  0 siblings, 0 replies; 2+ messages in thread
From: Fabio M. Di Nitto @ 2011-06-24 12:28 UTC (permalink / raw)
  To: cluster-devel.redhat.com

ACK

On 6/23/2011 7:46 PM, Lon Hohberger wrote:
> We were handling failures at the 'highest' independent subtree
> level instead of lowest; this patch fixes that.
> 
> Resolves: rhbz#711521
> 
> Signed-off-by: Lon Hohberger <lhh@redhat.com>
> ---
>  rgmanager/src/daemons/restree.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/rgmanager/src/daemons/restree.c b/rgmanager/src/daemons/restree.c
> index 697c7b1..4e5f3bc 100644
> --- a/rgmanager/src/daemons/restree.c
> +++ b/rgmanager/src/daemons/restree.c
> @@ -1603,7 +1603,7 @@ _res_op_internal(resource_node_t __attribute__ ((unused)) **tree,
>  		  and all our children as failed and return a flag stating
>  		  that this section is recoverable apart from siblings in
>  		  the resource tree. */
> -		if (op == RS_STATUS && (rv & (SFL_FAILURE|SFL_RECOVERABLE)) &&
> +		if (op == RS_STATUS && (rv & SFL_FAILURE) &&
>  		    (node->rn_flags & RF_INDEPENDENT)) {
>  
>  			rte = restart_threshold_exceeded(node->rn_restart_counter);



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-24 12:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-23 17:46 [Cluster-devel] [PATCH] rgmanager: Fix bad passing of SFL_FAILURE up - RHEL5 Lon Hohberger
2011-06-24 12:28 ` Fabio M. Di Nitto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).