[sheepdog] [PATCH 0/7] fix local driver to pass test scripts

Liu Yuan namei.unix at gmail.com
Tue Sep 4 13:21:51 CEST 2012


On 09/04/2012 04:05 PM, MORITA Kazutaka wrote:
> This depends on the series I sent two hours ago.  I've pushed all of
> patches to the devel branch for easier review.
> 
> Basically, this series does the same changes as we have done to the
> corosync driver.  With this series, local driver can pass all
> testcases.

I hit a crash on 026.

(gdb) bt
#0  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#1  0x0000000000411aba in shm_queue_push (type=7007, node=<value optimized out>, buf=<value optimized out>, 
    buf_len=<value optimized out>) at cluster/local.c:129
#2  add_event (type=7007, node=<value optimized out>, buf=<value optimized out>, buf_len=<value optimized out>)
    at cluster/local.c:266
#3  0x0000000000411bbc in local_block () at cluster/local.c:343
#4  0x0000000000404c37 in queue_cluster_request (req=0x16af5d0) at group.c:337
#5  0x0000000000408ab2 in finish_rx (fd=<value optimized out>, events=1, data=<value optimized out>) at request.c:595
#6  do_client_rx (fd=<value optimized out>, events=1, data=<value optimized out>) at request.c:603
#7  client_handler (fd=<value optimized out>, events=1, data=<value optimized out>) at request.c:797
#8  0x0000000000419c06 in event_loop (timeout=<value optimized out>) at event.c:180
#9  0x0000000000404245 in main (argc=<value optimized out>, argv=0x7fffe55e77f8) at sheep.c:396

and logs:
...
Sep 04 19:19:13 [main] farm_init(154) use farm store driver
Sep 04 19:19:13 [main] default_init(208) use plain store driver
Sep 04 19:19:13 [main] update_epoch_log(58) update epoch: 1, 8
Sep 04 19:19:14 [main] have_enough_zones(105) flags 1, nr_zones 8, min copies 0
Sep 04 19:19:15 [main] client_handler(791) 4, rx 0, tx 0
Sep 04 19:19:15 [main] finish_tx(681) connection from: 10, ::1:34613
Sep 04 19:19:15 [main] client_handler(791) 19, rx 0, tx 3
Sep 04 19:19:15 [main] clear_client_info(720) connection seems to be dead
Sep 04 19:19:15 [main] clear_client_info(741) refcnt:0, fd:10, ::1:34613
Sep 04 19:19:15 [main] destroy_client(711) connection from: ::1:34613
Sep 04 19:19:15 [main] listen_handler(853) accepted a new connection: 10
Sep 04 19:19:15 [main] client_handler(791) 1, rx 0, tx 0
Sep 04 19:19:15 [main] finish_rx(594) 10, ::1:34614
Sep 04 19:19:15 [main] queue_request(339) NEW_VDI, 1
Sep 04 19:19:15 [main] queue_cluster_request(333) NEW_VDI (0x16af5d0)
Sep 04 19:19:15 [main] add_event(262) type = 4, sender = IPv4 ip:127.0.0.1 port:7000
Sep 04 19:19:15 [main] add_event(264) 0: IPv4 ip:127.0.0.1 port:7000
Sep 04 19:19:15 [main] add_event(264) 1: IPv4 ip:127.0.0.1 port:7006
Sep 04 19:19:15 [main] add_event(264) 2: IPv4 ip:127.0.0.1 port:7003
Sep 04 19:19:15 [main] add_event(264) 3: IPv4 ip:127.0.0.1 port:7001
Sep 04 19:19:15 [main] add_event(264) 4: IPv4 ip:127.0.0.1 port:7004
Sep 04 19:19:15 [main] add_event(264) 5: IPv4 ip:127.0.0.1 port:7002
Sep 04 19:19:15 [main] add_event(264) 6: IPv4 ip:127.0.0.1 port:7005
Sep 04 19:19:15 [main] add_event(264) 7: IPv4 ip:127.0.0.1 port:7007
Sep 04 19:19:15 [main] crash_handler(439) sheep pid 10487 exited unexpectedly.




More information about the sheepdog mailing list