Commit Graph

  • 2663173d1a Merge branch 'release-to-master' into 'master' master Chris Elsworth 2019-01-11 13:34:34 +00:00
  • 3448ff15b8 release 0.5.0 James F. Carter 2019-01-11 10:37:48 +00:00
  • aff33bce10 Merge branch '37-unexplained-mirror-timeout-causing-migrations-to-stall' into 'develop' James Carter 2018-12-10 12:36:43 +00:00
  • 6b1a877dc3 Tweaked test file size, and removed debug ENV fiddling Patrick J Cherry 2018-12-07 22:43:50 +00:00
  • e5133a50bd Slow down start/stop. Enable DEBUG Patrick J Cherry 2018-12-07 22:09:21 +00:00
  • 39400f2e09 Fixed issue number. Patrick J Cherry 2018-12-07 21:50:56 +00:00
  • 52690f5382 Updated changelog Patrick J Cherry 2018-12-07 21:48:55 +00:00
  • a4d641b215 Ensure ev abandon_watcher is stopped before reuse. Patrick J Cherry 2018-12-07 21:47:14 +00:00
  • 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' James Carter 2018-12-07 17:12:21 +00:00
  • 654d277453 Updated changelog Patrick J Cherry 2018-12-07 16:40:53 +00:00
  • 842e7d362d Ensure control socket is closed first, and wait for it to close. Patrick J Cherry 2018-12-07 16:32:58 +00:00
  • 5839a36ab1 Remove useless function definition Patrick J Cherry 2018-12-07 15:05:19 +00:00
  • 70a3a4bb55 Close the control socket during cleanup Patrick J Cherry 2018-12-07 15:02:55 +00:00
  • ce9499efce Rubocop; add test to bombard a migration source with status commands Patrick J Cherry 2018-12-07 13:59:49 +00:00
  • edb42700d0 Merge branch 'release-to-master' into 'master' Chris Elsworth 2018-11-15 15:05:23 +00:00
  • e5f7038127 Merge branch 'release-to-master' into 'develop' Chris Elsworth 2018-11-15 14:28:43 +00:00
  • 8bc6ebbb0f Updated changelog for release Patrick J Cherry 2018-11-15 14:24:59 +00:00
  • 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' Chris Elsworth 2018-11-15 11:29:24 +00:00
  • 256cba79e3 Added note about the new environment variable Patrick J Cherry 2018-11-14 17:31:42 +00:00
  • 5d1b0472de Fixed typo Patrick J Cherry 2018-11-14 17:21:08 +00:00
  • 93308bbda1 Added jessie back. Patrick J Cherry 2018-11-14 17:20:33 +00:00
  • bb5271cea3 Remove jessie packaging :'( Patrick J Cherry 2018-11-14 16:58:33 +00:00
  • b7b50faa17 Updated comments Patrick J Cherry 2018-11-14 16:57:24 +00:00
  • b26b308e68 Add test to check when proxy times-out mid-write to upstream Patrick J Cherry 2018-11-14 16:49:55 +00:00
  • 3e00a88d45 Removed debug Patrick J Cherry 2018-11-14 10:23:58 +00:00
  • 3fe9f2c6a1 Removed a couple of gotos. Patrick J Cherry 2018-11-14 10:23:05 +00:00
  • 391a17bfcc Updated changelog Patrick J Cherry 2018-11-13 21:38:15 +00:00
  • 9b1518806d Move state-resetting to after before the init is read from upstream Patrick J Cherry 2018-11-13 21:33:06 +00:00
  • 1225a28d41 Reset proxy req size/needle on timeout Patrick J Cherry 2018-11-13 16:42:13 +00:00
  • 102738d9ad Updated logging output during readloop() and writeloop() failures add-read-failed-logging Patrick J Cherry 2018-04-27 10:07:48 +01:00
  • c9d30a9bde Merge branch 'release-to-master' into 'master' Patrick J Cherry 2018-04-24 13:12:53 +01:00
  • b18c46606f Merge branch 'release-to-master' into 'develop' develop James Carter 2018-04-24 12:12:06 +01:00
  • b3cea813e4 Updated changelog for release release-to-master Patrick J Cherry 2018-04-24 12:06:06 +01:00
  • 3e0d30f6b9 Merge branch 'reinstate-sync-after-every-write' into 'develop' James Carter 2018-04-24 12:02:53 +01:00
  • 3b1a150315 Updated changelgo Patrick J Cherry 2018-04-24 10:27:46 +01:00
  • ead6328d80 Force sync after every write Patrick J Cherry 2018-04-24 10:27:02 +01:00
  • 20b4f069c8 Merge branch 'release-to-master' into 'develop' James Carter 2018-02-20 11:52:37 +00:00
  • a4f1956a56 Merge branch 'release-to-master' into 'master' James Carter 2018-02-20 11:52:07 +00:00
  • 331ca4be14 Updated changelog for release Patrick J Cherry 2018-02-20 11:45:42 +00:00
  • fb5714765c Merge branch 'fix-formatting' into 'develop' James Carter 2018-02-20 11:42:25 +00:00
  • af3bb16ff7 Merge branch 'develop' into fix-formatting Patrick J Cherry 2018-02-20 11:06:58 +00:00
  • 9cbcc7c95a Added note about the test file formatting Patrick J Cherry 2018-02-20 11:05:36 +00:00
  • 8893cd06c4 Re-formatted tests with a bit of tinkering by hand Patrick J Cherry 2018-02-20 11:02:33 +00:00
  • 166db9b1f7 Merge branch 'enable-flags-test' into 'develop' James Carter 2018-02-20 10:23:42 +00:00
  • 103bd7ad5b Undo formatting on test suite -- it wasn't right Patrick J Cherry 2018-02-20 10:13:42 +00:00
  • 7bee1aadfe Enable request flags test Patrick J Cherry 2018-02-20 10:11:38 +00:00
  • f47f56d4c4 Formatted all code using indent Patrick J Cherry 2018-02-20 10:05:35 +00:00
  • 19a1127bde Merge branch 'fix-correct-num-clients-status' into 'develop' James Carter 2018-02-20 09:51:37 +00:00
  • 073a4ac0fa Merge branch '35-incorrect-struct-type-used-in-readwrite-c' into 'develop' James Carter 2018-02-20 09:50:25 +00:00
  • 623007bfff Remove last reference to removed test_gets_num_clients Patrick J Cherry 2018-02-19 10:22:01 +00:00
  • 27a94a807e Remove the test_gets_num_clients test from the C unit tests Patrick J Cherry 2018-02-16 13:46:31 +00:00
  • 1407407ff4 Updated changelog Patrick J Cherry 2018-02-16 13:00:31 +00:00
  • d0439dab88 Call the thread cleanup code when requesting status Patrick J Cherry 2018-02-16 12:58:03 +00:00
  • 9f56f38f42 Merge branch 'rationalise-ld-preload-tests' into develop James F. Carter 2018-02-14 16:48:57 +00:00
  • 370d04d971 Merge branch 'take-request-response-size-into-malloc' into 'develop' Chris Elsworth 2018-02-14 05:28:24 +00:00
  • 099e29de91 Merge branch 'develop' into 'take-request-response-size-into-malloc' Patrick J Cherry 2018-02-13 17:06:41 +00:00
  • 2e17e8955f Added tests for NBD_MAX_SIZE Patrick J Cherry 2018-02-13 17:04:51 +00:00
  • bb1f6ecdf5 Updated changelog Patrick J Cherry 2018-02-13 15:51:09 +00:00
  • cc69752394 Use correct constant name. take-request-response-size-into-malloc-0.1.8 Patrick J Cherry 2018-02-12 19:11:24 +00:00
  • 158379ba7a Use correct constant name. Patrick J Cherry 2018-02-12 19:11:24 +00:00
  • af2bee79fc Update proxy malloc to add the struct size onto the request/response buffer Patrick J Cherry 2018-02-12 19:04:29 +00:00
  • 1c66b56af1 Update proxy malloc to add the struct size onto the request/response buffer Patrick J Cherry 2018-02-12 19:04:29 +00:00
  • 03d9eb01b5 Merge branch 'increase-log-level-for-readloop-failures' into 'develop' Ian Chilton 2018-02-09 15:38:48 +00:00
  • cdcd527544 Refactored read_reply to compare the network-byte-ordered handle Patrick J Cherry 2018-02-09 12:18:34 +00:00
  • 169d40f575 Increase log level for readloop failures, which might help with diagnosis Patrick J Cherry 2018-02-09 11:57:07 +00:00
  • 21f384e343 Updated changelog Patrick J Cherry 2018-02-09 11:44:28 +00:00
  • 9817fd7b0a Final tidies, comments etc. Patrick J Cherry 2018-02-09 11:42:25 +00:00
  • 195de41d86 Remove extra line Patrick J Cherry 2018-02-09 11:32:26 +00:00
  • 5b350e10e5 Merge branch 'develop' into '35-incorrect-struct-type-used-in-readwrite-c' Patrick J Cherry 2018-02-09 11:29:48 +00:00
  • b75a6529d0 Move LdPreload include to correct place Patrick J Cherry 2018-02-09 10:41:24 +00:00
  • 8e67180999 Check that TCP_NODELAY is set on upstream sockets on reconnection Patrick J Cherry 2018-02-09 10:26:08 +00:00
  • c053a54faa Added test to cover setsockopt for tcpkeepalive Patrick J Cherry 2018-02-08 23:07:17 +00:00
  • ebacf738bc Tidy up ld preload hacks Patrick J Cherry 2018-02-08 22:28:34 +00:00
  • c4bab3f81f Merge branch 'truncate-odd-sized-discs' into 'develop' James Carter 2018-02-08 16:49:36 +00:00
  • a19267b377 Adjust block-rounding line to match in serve.c Patrick J Cherry 2018-02-08 16:37:36 +00:00
  • 23d9ff587e Updated changelog Patrick J Cherry 2018-02-08 16:36:20 +00:00
  • 347b7978e4 Discs must be sized in multiples of 512 bytes or odd things happen Patrick J Cherry 2018-02-08 16:31:28 +00:00
  • f8fec5f57e Alter struct types to reflect reality, avoiding mixing "host" and "raw" structs Patrick J Cherry 2018-02-08 15:46:34 +00:00
  • 1672b4b88b Merge branch '36-breaks-when-trying-to-install-debian-from-cd' into 'develop' James Carter 2018-02-08 13:59:12 +00:00
  • 5e9dbbd626 Updated changelgo Patrick J Cherry 2018-02-08 13:32:10 +00:00
  • 8beb3f0af6 Allow proxy to pass NBD protocol errors downstream; server returns EINVAL/ENOSPC appropriately Patrick J Cherry 2018-02-08 13:19:51 +00:00
  • 806de13024 Merge branch 'try-flags' into 'develop' James Carter 2018-02-08 11:18:31 +00:00
  • f71b872622 Only set up LD_PRELOAD for tests that actually need it. Patrick J Cherry 2018-02-07 22:05:07 +00:00
  • 79181b3153 Added LD_PRELOAD library to monitor msync calls in testing Patrick J Cherry 2018-02-07 21:45:20 +00:00
  • 55548cc969 Change ordering of @env configuration/start so we can alter the blocksize. Patrick J Cherry 2018-02-06 10:24:54 +00:00
  • 9bf3b52d54 Call proxy_finish_connect_to_upstream when reconnecting, setting TCP_NODELAY Patrick J Cherry 2018-02-06 10:02:16 +00:00
  • da35187af0 Allow blocksize to be changed in Environment Patrick J Cherry 2018-02-06 09:55:32 +00:00
  • 7704f9e5c8 Fix tests to reflect new filesize. Patrick J Cherry 2018-02-06 07:57:40 +00:00
  • 3a86870c9f Use sysconf to determine actual page size for msync Patrick J Cherry 2018-02-06 07:32:58 +00:00
  • 6d6948af09 Fix offset calculation for partial msyncs to go to nearest 4k block Patrick J Cherry 2018-02-05 23:05:00 +00:00
  • c423900f02 Fix typo Patrick J Cherry 2018-02-05 17:04:23 +00:00
  • afa1bb0efb Use msync rather than fsync to flush the entire disc Patrick J Cherry 2018-02-05 17:01:32 +00:00
  • ad2014ac9d Fixed long-standing bug with h2r functions being back to front Patrick J Cherry 2018-02-05 16:16:17 +00:00
  • d1dc7392c2 Open file with O_NOATIME, not O_SYNC Patrick J Cherry 2018-02-05 16:15:36 +00:00
  • ba59a4c03f Updated changelog Patrick J Cherry 2018-02-05 08:15:56 +00:00
  • 2b58468800 Added test for FUA acceptance. Patrick J Cherry 2018-02-03 20:29:15 +00:00
  • 4d9db4d6e9 Added basic FLUSH test Patrick J Cherry 2018-02-03 20:10:47 +00:00
  • d6057a4244 Use 'English' in ruby Patrick J Cherry 2018-02-02 21:41:07 +00:00
  • 1d98ba1d3e Further rubocopping Patrick J Cherry 2018-02-02 21:36:30 +00:00
  • 9c48da82cc Rubocop Patrick J Cherry 2018-02-02 21:34:14 +00:00