Commit Graph

1167 Commits

Author SHA1 Message Date
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
Joe Thornber
4a1484330d --version should output to stdout, not stderr 2012-03-13 12:32:30 +00:00
Heinz Mauelshagen
212d8417b2 thin_check: add missing LF 2012-03-13 13:10:13 +01:00
Joe Thornber
748e21fc5c bump version number 2012-03-13 11:38:41 +00:00
Heinz Mauelshagen
ef7e3b7e94 Catch bz802242 artifical zero size file segfault 2012-03-13 12:26:35 +01:00
Heinz Mauelshagen
ba6984504e Fix segfault with file argument 2012-03-13 12:15:32 +01:00
Joe Thornber
0eac802682 more thin_debug work 2012-03-13 11:01:14 +00:00
Joe Thornber
da8afff35f thin_debug 2012-03-08 17:20:46 +00:00
Joe Thornber
dce7013577 sb.flags_ was not being packed/unpacked correctly 2012-03-08 13:11:55 +00:00
Heinz Mauelshagen
422c56c9b8 Correct thin_check man page WRT repair information 2012-03-05 19:38:37 +01:00
Heinz Mauelshagen
33ad18c80e Remove thin_repair.cc [Milan] 2012-03-05 19:36:09 +01:00
Heinz Mauelshagen
6859738218 Fix uint32_uint64 warning [Milan] 2012-03-05 19:35:42 +01:00