Commit Graph

378 Commits

Author SHA1 Message Date
Heinz Mauelshagen
5f336e4b41 buffer.h: comment 2013-01-23 13:39:23 +01:00
Heinz Mauelshagen
eed2dfdc38 buffer_t.cc: more tests 2013-01-23 13:28:00 +01:00
Heinz Mauelshagen
a762d34009 factored buffer.h out of block.h 2013-01-22 13:46:38 +01:00
Joe Thornber
f19135f768 [block.h] add a TODO list for Heinz 2013-01-22 10:27:00 +00:00
Joe Thornber
67cd406fe9 [transaction_manager_t] remove some duplication 2013-01-22 09:59:06 +00:00
Joe Thornber
23b48f0c54 [unit-tests] Update block_manager constructors to use the block_io<>::mode param. 2013-01-15 05:31:48 +00:00
Joe Thornber
70f1ee6031 [Build] Dependencies weren't being built or included for the unit tests. 2013-01-15 05:29:40 +00:00
Joe Thornber
2aff80ea78 [block_t] remove the test.data file before each test. 2013-01-15 04:07:47 +00:00
Joe Thornber
0455cfbf13 [block] use lseek to size a new block file rather than fallocate.
Which sadly returned operation not supported for some reason.
2013-01-15 04:06:57 +00:00
Joe Thornber
cfdc233fa4 [block_t] All block managers are created in create_bm. 2013-01-15 03:43:21 +00:00
Joe Thornber
fb1ad01e19 Add a CREATE mode to the block_io class. 2013-01-15 03:23:55 +00:00
Joe Thornber
779f8e1fd4 Introduce a mode enum to block_io<> 2013-01-11 20:16:40 +00:00
Joe Thornber
2b86309961 persistent-data/cache.h hadn't been checked in. 2013-01-11 19:31:22 +00:00
Joe Thornber
aacca8d963 Introduce persistent-data/data-structures/ 2013-01-11 19:26:51 +00:00
Joe Thornber
d362fdc867 array data structure wip 2013-01-10 23:00:50 +00:00
Joe Thornber
6f723e6c5a rename run_list -> span 2013-01-10 22:59:54 +00:00
Joe Thornber
af96c22786 Fix a transaction manager test 2013-01-10 22:11:59 +00:00
Joe Thornber
ace95d434e whitespace 2013-01-10 21:38:58 +00:00
Joe Thornber
326fd3408b move space maps to their own sub directory 2013-01-10 21:36:38 +00:00
Joe Thornber
6a4facf03b test the recursive space map 2013-01-10 21:12:37 +00:00
Joe Thornber
186b0aa6c1 Change the signature of the space_map->new_block() method, introducing
a span_iterator abstraction.

Rename sm_transactional -> sm_careful_alloc.  Still not happy with the name.

Fix failing test.
2013-01-10 21:05:10 +00:00
Joe Thornber
3d9f91eee2 Test space_map_transactional 2013-01-10 12:15:50 +00:00
Joe Thornber
4ea3476c97 rename space_map_disk_t -> space_map_t 2013-01-10 11:26:29 +00:00
Joe Thornber
44316c5741 Test space_map_core. 2013-01-10 11:21:07 +00:00
Joe Thornber
9933506a15 remove space_map_t 2013-01-10 11:12:36 +00:00
Joe Thornber
1cc6737c26 Remove the typedef block_ptr and change code to use block::ptr instead 2013-01-10 11:02:06 +00:00
Joe Thornber
3e39e8bfeb A big raft of changes to the unit-tests 2013-01-09 20:24:11 +00:00
Joe Thornber
ab7124e441 block_t and cache_t fully operational again. 2013-01-07 16:39:02 +00:00
Joe Thornber
b63a921d44 make lock_tracker throw if the superblock is unlocked while other locks are still held. 2013-01-07 15:57:19 +00:00
Joe Thornber
26b97908bd Add superblock_lock method to lock_tracker. 2013-01-07 15:30:51 +00:00
Joe Thornber
2a427ca925 Add persistent_data/lock_tracker for more sanity checking. 2013-01-07 14:59:41 +00:00
Joe Thornber
282e98a6b1 Move source into separate sub directories. 2013-01-02 12:55:41 +00:00
Joe Thornber
c0d2eb9bc6 remove misleading comment about thin_dump from thin_check man page 2012-05-22 16:50:00 +01:00
Joe Thornber
ad09f2e2b0 bump version 2012-05-17 13:07:08 +01:00
Joe Thornber
2598648e62 Introduce a buffer class that has its own allocator which makes sure
the buffer is 512 byte aligned.

Open metadata devices with O_DIRECT to let us work with live metadata.
2012-05-17 13:05:26 +01:00
Joe Thornber
e25c211591 dump the metadata snap block in the superblock detail 2012-05-17 13:04:37 +01:00
Joe Thornber
9e00ab07b8 add support for held_root to thin_dump 2012-05-17 12:28:23 +01:00
Joe Thornber
ae220c977d Merge branch 'master' into held-root 2012-05-15 10:02:49 +01:00
Joe Thornber
290643f85f merge 2012-03-15 15:13:32 +00:00
Joe Thornber
c632c52cf5 bump version 2012-03-15 15:09:00 +00:00
Milan Broz
16205a7fdf fix thinp Makefile
With utilities in /usr/sbin it doesn't work - it must not redefine DESTDIR...
(thanks kabi for fix)

Milan
2012-03-15 15:07:22 +00:00
Joe Thornber
aa437b124d fix merge conflicts 2012-03-14 12:52:17 +00:00
Joe Thornber
6bb2b99691 bump version 2012-03-14 12:44:44 +00:00
Milan Broz
57e899fd17 - Document -q option in man page. - Fix thin_repair typo in man page. - Remove some whitespaces. 2012-03-14 12:44:06 +00:00
Milan Broz
ef39e00775 - Document -q option in man page. - Fix thin_repair typo in man page. - Remove some whitespaces. 2012-03-14 12:43:36 +00:00
Joe Thornber
2a50b54906 bump version 2012-03-13 14:29:02 +00:00
Joe Thornber
7e1ed018b1 Merge branch 'rhel6.3-maintenance' 2012-03-13 14:28:30 +00:00
Joe Thornber
7b1907cf3b bump version 2012-03-13 14:08:25 +00:00
Joe Thornber
21405ab76f Merge branch 'heinz-changes' of github.com:jthornber/thin-provisioning-tools into rhel6.3-maintenance 2012-03-13 14:06:21 +00:00
Joe Thornber
0e47d99218 tweaks to command line 2012-03-13 14:06:10 +00:00