search for: nn_persistent_error

Displaying 5 results from an estimated 5 matches for "nn_persistent_error".

2009 Nov 20
3
o2net patch that avoids socket disconnect/reconnect
This fix modifies o2net layer behavior which seems to trigger some DLM race issues during umount/evictions that needs to be fixed as well. I am working on the dlm issues but meanwhile please review this patch. Thanks, --Srini
2008 Feb 04
0
[PATCH] o2net: Reconnect after idle time out.
...1; + spin_unlock(&nn->nn_lock); + o2net_sc_queue_work(sc, &sc->sc_shutdown_work); } @@ -1466,8 +1471,17 @@ static void o2net_start_connect(struct w } spin_lock(&nn->nn_lock); - /* see if we already have one pending or have given up */ - stop = (nn->nn_sc || nn->nn_persistent_error); + /* + * see if we already have one pending or have given up. + * For nn_timeout, it is set when we close the connection + * because of the idle time out. So it means that we have + * at least connected to that node successfully once, + * now try to connect to it again. + */ + stop = (nn-&g...
2008 Feb 13
2
[PATCH] o2net: Reconnect after idle time out.V2
...;re greater we initiate tx, otherwise we accept */ if (o2nm_this_node() <= o2net_num_from_nn(nn)) @@ -1466,8 +1480,17 @@ static void o2net_start_connect(struct w } spin_lock(&nn->nn_lock); - /* see if we already have one pending or have given up */ - stop = (nn->nn_sc || nn->nn_persistent_error); + /* + * see if we already have one pending or have given up. + * For nn_timeout, it is set when we close the connection + * because of the idle time out. So it means that we have + * at least connected to that node successfully once, + * now try to connect to it again. + */ + timeout = ato...
2006 Jan 09
0
[PATCH 01/11] ocfs2: event-driven quorum
...et_hb_down; -#define O2NET_HB_PRI 0x1 +#define O2NET_HB_PRI 0x2 static struct o2net_handshake *o2net_hand; static struct o2net_msg *o2net_keep_req, *o2net_keep_resp; @@ -390,9 +389,9 @@ static void o2net_set_nn_state(struct o2 wake_up(&nn->nn_sc_wq); if (!was_err && nn->nn_persistent_error) { - o2quo_conn_err(o2net_num_from_nn(nn)); - queue_delayed_work(o2net_wq, &nn->nn_still_up, - msecs_to_jiffies(O2NET_QUORUM_DELAY_MS)); + u8 node_num = o2net_num_from_nn(nn); + struct o2nm_node *node = o2nm_get_node_by_num(node_num); + o2hb_notify(O2HB_CONN_DOWN_CB, node, node_nu...
2008 Apr 02
10
[PATCH 0/62] Ocfs2 updates for 2.6.26-rc1
The following series of patches comprises the bulk of our outstanding changes for Ocfs2. Aside from the usual set of cleanups and fixes that were inappropriate for 2.6.25, there are a few highlights: The '/sys/o2cb' directory has been moved to '/sys/fs/o2cb'. The new location meshes better with modern sysfs layout. A symbolic link has been placed in the old location so as to