685 Commits

Author SHA1 Message Date
Chris Elsworth
2663173d1a Merge branch 'release-to-master' into 'master'
Release 0.5.0 to master

See merge request open-source/flexnbd-c!60
2019-01-11 13:34:34 +00:00
James F. Carter
3448ff15b8 release 0.5.0 2019-01-11 10:37:48 +00:00
James Carter
aff33bce10 Merge branch '37-unexplained-mirror-timeout-causing-migrations-to-stall' into 'develop'
Resolve "Unexplained mirror timeout causing migrations to stall"

Closes #37

See merge request open-source/flexnbd-c!59
2018-12-10 12:36:43 +00:00
Patrick J Cherry
6b1a877dc3 Tweaked test file size, and removed debug ENV fiddling 2018-12-07 22:43:50 +00:00
Patrick J Cherry
e5133a50bd Slow down start/stop. Enable DEBUG
Trying to working why this is failing in gitlab-ci
2018-12-07 22:09:21 +00:00
Patrick J Cherry
39400f2e09 Fixed issue number. 2018-12-07 21:50:56 +00:00
Patrick J Cherry
52690f5382 Updated changelog 2018-12-07 21:48:55 +00:00
Patrick J Cherry
a4d641b215 Ensure ev abandon_watcher is stopped before reuse. 2018-12-07 21:47:14 +00:00
James Carter
416d8bde96 Merge branch '40-when-migrating-qemu-discs-from-one-tail-to-another-there-s-an-edge-case-where-flexnbd-freezes-and-the-vm-eventually-disconnects-and-becomes-unstartable' into 'develop'
Resolve "When migrating QEmu discs from one tail to another there's an edge case where flexnbd freezes and the VM eventually disconnects and becomes unstartable."

Closes #40

See merge request open-source/flexnbd-c!58
2018-12-07 17:12:21 +00:00
Patrick J Cherry
654d277453 Updated changelog 2018-12-07 16:40:53 +00:00
Patrick J Cherry
842e7d362d Ensure control socket is closed first, and wait for it to close. 2018-12-07 16:32:58 +00:00
Patrick J Cherry
5839a36ab1 Remove useless function definition 2018-12-07 15:05:19 +00:00
Patrick J Cherry
70a3a4bb55 Close the control socket during cleanup
This should prevent further requests coming in, triggering deadlocks.
2018-12-07 15:02:55 +00:00
Patrick J Cherry
ce9499efce Rubocop; add test to bombard a migration source with status commands 2018-12-07 13:59:49 +00:00
Chris Elsworth
edb42700d0 Merge branch 'release-to-master' into 'master'
Release 0.4.0

See merge request open-source/flexnbd-c!57
2018-11-15 15:05:23 +00:00
Chris Elsworth
e5f7038127 Merge branch 'release-to-master' into 'develop'
Updated changelog for release

See merge request open-source/flexnbd-c!56
2018-11-15 14:28:43 +00:00
Patrick J Cherry
8bc6ebbb0f Updated changelog for release 2018-11-15 14:24:59 +00:00
Chris Elsworth
eb45b5e483 Merge branch '39-following-a-proxy-timeout-a-write-request-is-not-restarted-or-abandoned-leading-to-bad-magic-errors-following-reconnection' into 'develop'
Resolve "Following a proxy timeout, a write request is not restarted (or abandoned) leading to "bad magic" errors following reconnection"

Closes #39

See merge request open-source/flexnbd-c!54
2018-11-15 11:29:24 +00:00
Patrick J Cherry
256cba79e3 Added note about the new environment variable 2018-11-14 17:31:42 +00:00
Patrick J Cherry
5d1b0472de Fixed typo 2018-11-14 17:21:08 +00:00
Patrick J Cherry
93308bbda1 Added jessie back. 2018-11-14 17:20:33 +00:00
Patrick J Cherry
bb5271cea3 Remove jessie packaging :'( 2018-11-14 16:58:33 +00:00
Patrick J Cherry
b7b50faa17 Updated comments 2018-11-14 16:58:05 +00:00
Patrick J Cherry
b26b308e68 Add test to check when proxy times-out mid-write to upstream
I've add to add code to allow the environment to specify the upstream
tiemout so we don't have to wait 30s for this test to happen.
2018-11-14 16:49:55 +00:00
Patrick J Cherry
3e00a88d45 Removed debug 2018-11-14 10:23:58 +00:00
Patrick J Cherry
3fe9f2c6a1 Removed a couple of gotos.
Hadn't you heard?  They're considered harmful.
2018-11-14 10:23:05 +00:00
Patrick J Cherry
391a17bfcc Updated changelog 2018-11-13 21:38:36 +00:00
Patrick J Cherry
9b1518806d Move state-resetting to after before the init is read from upstream
This removes repetition and ensures a constant state before the upstream
init is read.
2018-11-13 21:33:06 +00:00
Patrick J Cherry
1225a28d41 Reset proxy req size/needle on timeout 2018-11-13 16:42:13 +00:00
Patrick J Cherry
c9d30a9bde Merge branch 'release-to-master' into 'master'
Release 0.3.0

See merge request open-source/flexnbd-c!53
2018-04-24 13:12:53 +01:00
James Carter
b18c46606f Merge branch 'release-to-master' into 'develop'
Updated changelog for release 0.3.0

See merge request open-source/flexnbd-c!52
2018-04-24 12:12:06 +01:00
Patrick J Cherry
b3cea813e4 Updated changelog for release 2018-04-24 12:06:06 +01:00
James Carter
3e0d30f6b9 Merge branch 'reinstate-sync-after-every-write' into 'develop'
Reinstate sync after every write

See merge request open-source/flexnbd-c!51
2018-04-24 12:02:53 +01:00
Patrick J Cherry
3b1a150315 Updated changelgo 2018-04-24 10:27:46 +01:00
Patrick J Cherry
ead6328d80 Force sync after every write 2018-04-24 10:27:02 +01:00
James Carter
20b4f069c8 Merge branch 'release-to-master' into 'develop'
Merge back to develop

See merge request open-source/flexnbd-c!49
2018-02-20 11:52:37 +00:00
James Carter
a4f1956a56 Merge branch 'release-to-master' into 'master'
Release to master

See merge request open-source/flexnbd-c!50
2018-02-20 11:52:07 +00:00
Patrick J Cherry
331ca4be14 Updated changelog for release 2018-02-20 11:45:42 +00:00
James Carter
fb5714765c Merge branch 'fix-formatting' into 'develop'
Formatted all code using `indent`

See merge request open-source/flexnbd-c!47
2018-02-20 11:42:25 +00:00
Patrick J Cherry
af3bb16ff7 Merge branch 'develop' into fix-formatting 2018-02-20 11:06:58 +00:00
Patrick J Cherry
9cbcc7c95a Added note about the test file formatting 2018-02-20 11:05:36 +00:00
Patrick J Cherry
8893cd06c4 Re-formatted tests with a bit of tinkering by hand 2018-02-20 11:02:33 +00:00
James Carter
166db9b1f7 Merge branch 'enable-flags-test' into 'develop'
Enable request flags test

See merge request open-source/flexnbd-c!48
2018-02-20 10:23:42 +00:00
Patrick J Cherry
103bd7ad5b Undo formatting on test suite -- it wasn't right 2018-02-20 10:13:42 +00:00
Patrick J Cherry
7bee1aadfe Enable request flags test
Missed this out when I wrote the test!
2018-02-20 10:11:38 +00:00
Patrick J Cherry
f47f56d4c4 Formatted all code using indent 2018-02-20 10:05:35 +00:00
James Carter
19a1127bde Merge branch 'fix-correct-num-clients-status' into 'develop'
Call the thread cleanup code when requesting `status`

See merge request open-source/flexnbd-c!46
2018-02-20 09:51:37 +00:00
James Carter
073a4ac0fa Merge branch '35-incorrect-struct-type-used-in-readwrite-c' into 'develop'
Resolve "Incorrect struct type used in readwrite.c"

Closes #35

See merge request open-source/flexnbd-c!41
2018-02-20 09:50:25 +00:00
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