Commit Graph

1719 Commits

Author SHA1 Message Date
Joe Thornber
4d3733d0e7 [functional-tests] change btree functions to take a spine.
Also change the step-spine interface slightly.
2017-09-14 16:09:43 +01:00
Joe Thornber
48ae5beead [funtional-tests] remove old code 2017-09-14 15:14:56 +01:00
Joe Thornber
6b36f68ef5 [unit-tests/block_t] Comment out failing test
WONTFIX
2017-09-14 14:39:42 +01:00
Joe Thornber
977bbf05e5 [unit-tests/btree_counter_t] Add a couple of flushes().
This fixes the two failing btree_counter tests.  The blocknr in each
node is filled in when written out.  These days (thanks to Ming) the
counter also checks the btree, *but* if there are any problems
encoutered it just skips counting that node.
2017-09-14 14:00:21 +01:00
Joe Thornber
eeb66ad83a [doc] add some ramblings on thinp metadata v2 2017-09-14 11:58:56 +01:00
Joe Thornber
9bc5d9fbfe [functional-tests] Some work on thin-check and thin-dump 2017-09-14 11:47:23 +01:00
Joe Thornber
f27b1e36c6 [functional-tests] Remove redundant library load in run-tests 2017-09-14 11:45:49 +01:00
Joe Thornber
f756ff02df [functional tests] Fix bug in return type of parser-combinators/eof 2017-09-14 11:44:01 +01:00
Joe Thornber
111d64ec9e [functional-tests] Change btree code to use a spine 2017-09-14 11:41:26 +01:00
Joe Thornber
205caab84c [functional-tests] move thin-check and thin-xml into a sub dir 2017-09-14 11:39:38 +01:00
Joe Thornber
40b257d42e [functional-tests] change btree to use the bcache 2017-09-08 15:51:33 +01:00
Joe Thornber
3b7320cd84 [functional-tests] a few more bcache tests 2017-09-08 09:20:16 +01:00
Joe Thornber
3f8add4334 Merge branch 'master' of github.com:jthornber/thin-provisioning-tools 2017-09-07 15:42:31 +01:00
Joe Thornber
6a054e35df [functional-tests] Scheme interface to the block cache. 2017-09-07 15:40:25 +01:00
Joe Thornber
7825380ffe [functional-tests] recode the block cache in C 2017-09-07 15:39:55 +01:00
Ming-Hung Tsai
591f725232 [space map disk] reduce the lock counts to speed up free block searching (#84)
Avoid repetitively acquiring/releasing the bitmap while finding a free block
2017-09-04 18:05:19 +01:00
Joe Thornber
c70aad52e6 [functional-tests] add dlambda to utils 2017-09-04 12:31:39 +01:00
Joe Thornber
c2b5730d6b [functional-tests] print help if there's a bad command line 2017-08-31 12:22:42 +01:00
Joe Thornber
fe1f46ae07 whitespace 2017-08-31 10:09:58 +01:00
Joe Thornber
9e096fa982 [functional-tests] Improve help for run-tests 2017-08-31 09:37:21 +01:00
Joe Thornber
8d303858db fix typo 2017-08-30 16:14:45 +01:00
Joe Thornber
38a9b8c3a9 Update README 2017-08-30 15:56:26 +01:00
Joe Thornber
93c8ebf896 [functional-tests] s/-/_/ in tag names 2017-08-30 15:15:12 +01:00
Joe Thornber
d3c8ae4f35 [functional-tests] era_restore tests 2017-08-30 15:14:10 +01:00
Joe Thornber
6616a21891 [functional-tests] era_check tests 2017-08-30 14:30:11 +01:00
Joe Thornber
516afc8ed6 [functional-tests] era-xml 2017-08-30 13:35:44 +01:00
Joe Thornber
8c251018c6 [functional-tests] thin_delta tests 2017-08-30 10:39:58 +01:00
Joe Thornber
e0bab67bd8 whitespace 2017-08-30 10:38:19 +01:00
Joe Thornber
bcc7f85f1e [functional-tests/cache] cache_metadata_size tests 2017-08-30 10:12:46 +01:00
Joe Thornber
a724d86ba2 Bump the version to 0.7.1 2017-08-29 15:07:02 +01:00
Joe Thornber
12024bf232 [functional-tests/thin] Factor out with-empty-metadata 2017-08-29 14:55:48 +01:00
Joe Thornber
33f0c23ca1 [functional-tests] give all temporary files sensible names.
This makes it much easier when debugging a test.
2017-08-29 14:46:59 +01:00
Joe Thornber
13cee36804 [functional-tests/regex-bench] update benchmark to use regex from a
string rather than combinators.
2017-08-29 13:26:14 +01:00
Joe Thornber
14d1751022 [functional-tests/regex] reorder definition of rx 2017-08-29 13:24:11 +01:00
Joe Thornber
761c655035 [functional-tests/cache] remove deliberately failing test + whitespace 2017-08-29 13:23:27 +01:00
Joe Thornber
88b0c2ebae [cache-restore] Fix crash with --override-metadata-version flag.
If the actual metadata version is 1, then the dirty bitset will not be
present.  But the superblock was trying to write it because of the
overridden md version.
2017-08-29 13:17:45 +01:00
Joe Thornber
4da8d19f29 [cache_restore] The metadata version and clean shutdown flags were
swapped.

Reveal by failing --omit-clean-shutdown test
2017-08-29 12:33:32 +01:00
Joe Thornber
61d747b246 [functional-tests/run-test] add list command. 2017-08-29 10:28:56 +01:00
Joe Thornber
1940945d6f [functional-tests/regex] use indirect-lambda to hotpatch rx 2017-08-29 09:27:28 +01:00
Joe Thornber
e5ca0bc5e1 [functional-tests] add indirect-lambda/set-lambda! to (utils) 2017-08-29 09:18:39 +01:00
Joe Thornber
52ab4c4958 Merge branch 'master' of github.com:jthornber/thin-provisioning-tools 2017-08-28 19:24:22 +01:00
Joe Thornber
da4bb22b6a [functional-tests/regex] Get groups working
Hacked a hotpatch soln.
2017-08-28 17:38:49 +01:00
Martin Pelikán
1be512580c Fix build with libc++ by disambiguating std::bitset away. (#83) 2017-08-26 12:53:33 +01:00
Joe Thornber
6e9e71da87 [functional-tests] remove ruby 2017-08-25 15:11:31 +01:00
Joe Thornber
be34337b06 [functional-tests] Add some cache tests 2017-08-25 15:03:50 +01:00
Joe Thornber
2eea8c4e84 [functional-tests] (process) library 2017-08-25 15:01:09 +01:00
Joe Thornber
970cd314de [functional-tests/temp-file] temp-file-sized 2017-08-25 11:26:45 +01:00
Joe Thornber
de2e243408 [functional-tests/cache] use a temp file for metadata 2017-08-25 11:26:09 +01:00
Joe Thornber
78cb2570a3 [functional-tests] start a trivial (disk-units) library 2017-08-25 11:25:37 +01:00
Joe Thornber
ccd89d32da [functional-tests/thin] use a temp file to hold metadata 2017-08-25 11:12:18 +01:00