Displaying 3 results from an estimated 3 matches for "conn_init".
Did you mean:
con_init
2005 Oct 25
3
live migration with DRBD devices
...Bringing up a domain works fine. But when I try to migrate it ( live with -l
flag as well as non-live) I get an error from xfrd.
The xfrd.log says:
==> xfrd.log <==
2508 [INF] XFRD> Accepted connection from 127.0.0.1:1327 on 2
2790 [INF] XFRD> Xfr service for 127.0.0.1:1327
[DEBUG] Conn_init> flags=1
[DEBUG] Conn_init> write stream...
[DEBUG] stream_init>mode=w flags=1 compress=0
[DEBUG] stream_init> unbuffer...
[DEBUG] stream_init< err=0
[DEBUG] Conn_init> read stream...
[DEBUG] stream_init>mode=r flags=1 compress=0
[DEBUG] stream_init> unbuffer...
[DEBUG] stre...
2005 Feb 01
5
Cannot save/migrate domains
...127.0.0.1:1551 on 2
16364 [INF] XFRD> Forked child pid=27525
16364 [INF] XFRD> Accepted connection from 127.0.0.1:1553 on 2
16364 [INF] XFRD> Forked child pid=27527
16364 [INF] XFRD> Accepted connection from 127.0.0.1:1555 on 2
27530 [INF] XFRD> Xfr service for 127.0.0.1:1555
[DEBUG] Conn_init> flags=1
[DEBUG] Conn_init> write stream...
[DEBUG] stream_init>mode=w flags=1 compress=0
[DEBUG] stream_init> unbuffer...
[DEBUG] stream_init< err=0
[DEBUG] Conn_init> read stream...
[DEBUG] stream_init>mode=r flags=1 compress=0
[DEBUG] stream_init> unbuffer...
[DEBUG] stre...
2000 May 10
0
patche for samba-2.0.7/source/smbd/conn.c
...n_total_handler cth;
-/* number of open connections */
-static struct bitmap *bmap;
-static int num_open;
/****************************************************************************
init the conn structures
****************************************************************************/
void conn_init(void)
{
- bmap = bitmap_allocate(MAX_CONNECTIONS);
+ /* This is quick initialization code */
+
+ memset( (void *)(&cth), 0, sizeof( connection_total_handler ));
+ cth.biggest_in_use = BIGGEST_NONE;
+ cth.smallest_released = SMALLEST_NONE;
}
/****************************...