Patrick J Cherry
623007bfff
Remove last reference to removed test_gets_num_clients
2018-02-19 10:22:01 +00:00
Patrick J Cherry
27a94a807e
Remove the test_gets_num_clients test from the C unit tests
...
This test was causing problems by using dummy pointers to simulate
connections. When calling the cleanup code, these pointers were
thought to be real, and the code attemtped to clean up threads
referenced by those pointers, causing a segfault.
I've reimplemented the test in the ruby acceptance suite.
2018-02-16 13:46:31 +00:00
Chris Elsworth
42d206cfb7
Update test
2017-07-14 16:26:25 +01:00
nick
847b2ec9ad
status: Remove useless stats
2013-09-23 14:19:49 +01:00
nick
ca9aea0d13
status: Expose migration_seconds_left
2013-09-23 14:09:25 +01:00
nick
0f2225becf
status: Display number of currently connected clients, and whether new clients are allowed
...
These will be useful for migration status monitoring - replaces "is pass == 7?"
2013-09-23 13:38:19 +01:00
nick
385c9027db
flexnbd status: display mirror->max_bytes_per_second as mirror_speed_limit
2013-08-14 13:30:25 +01:00
nick
f590f8ed3c
status: Add migration_speed ( bytes per second ) and migration_duration( seconds ) to the migration output
2013-07-26 11:50:01 +01:00
nick
afe76debf7
flexnbd status: Actually output pass statistics
2013-07-08 14:27:04 +01:00
nick
f4bfc70a4b
flexnbd status: Add current pass clean/dirty byte statistics
2013-07-08 13:51:15 +01:00
nick
b29ef6d4de
flexnbd status: Avoid a possible NULL dereference reading migration status
...
While the mirror mutex is taken, the mirroring can be abandoned and serve->mirror
set to NULL, so we need to lock around reading information from serve->mirror
2013-07-08 13:32:14 +01:00
nick
dee0bb27d6
flexnbd status: Add the size of the backing file, in bytes
...
This will be handy information if you're querying flexnbd for migration
stats, particularly.
2013-07-08 10:11:18 +01:00
nick
f556f298b1
flexnbd status: Add current migration pass to the status output if we're migrating
2013-07-08 09:58:31 +01:00
Alex Young
22bea81445
Don't open the control socket until after the server socket is bound
...
This makes it easier for the tests (and supervisor) to guarantee to be
able to connect to the server socket.
Also this patch moves freeing the mirror supervisor into the server
thread.
2012-10-09 17:35:20 +01:00
Alex Young
2e20e7197a
Add the pid to the status output
...
This will be needed if we daemonise flexnbd.
2012-07-16 11:50:59 +01:00
Alex Young
cef2dcaad2
Rename struct mirror_status to struct mirror
2012-07-12 14:54:48 +01:00
Alex Young
c0c9c6f076
Moved unit tests into tests/unit
2012-07-03 10:53:08 +01:00