Commit Graph

201 Commits

Author SHA1 Message Date
Joe Thornber 9e0540e1b6 era_check, era_dump 2014-01-23 00:46:03 +00:00
Joe Thornber cbbdfc37da [cache] cache_metadata_size 2014-01-15 15:52:05 +00:00
Joe Thornber bed0f369a8 [era_check] Now checks bloom tree 2014-01-14 23:59:12 +00:00
Joe Thornber bfb540cc5b [era] era_superblock_t and era_check 2014-01-09 22:40:34 +00:00
Joe Thornber 2250abe605 [era] superblock packing 2014-01-08 15:31:42 +00:00
Joe Thornber 983a5e84e6 Move endian_utils to base/ 2013-11-19 10:23:35 +00:00
Joe Thornber 180f7e6187 persistent-data/data-structures/bloom_filter 2013-11-18 13:08:07 +00:00
Heinz Mauelshagen 2f00c2320c Add missing cache tools manual pages and update Makefile.in respectively 2013-10-19 00:45:18 +02:00
Joe Thornber 5dbaf8371c [caching] start wiring up the discard bitset 2013-10-10 13:08:04 +01:00
Joe Thornber 347de67e2d [persistent-data/data-structures/bitset] Use pimpl idiom to hide implementation. 2013-10-10 12:17:34 +01:00
Joe Thornber a29b5c8d07 [base] bse64 encoder
Really slow implementation.  Speed up on a rainy day.
2013-10-10 10:18:46 +01:00
Joe Thornber c6487fd283 [cache_repair] written 2013-10-09 10:42:14 +01:00
Joe Thornber 9b9b7771e9 [caching] factor metadata_dump out of cache_dump 2013-10-09 10:22:06 +01:00
Joe Thornber 7cd4728fbf [build] add LDFLAGS to thin_metadata_size 2013-10-07 14:27:08 +01:00
Joe Thornber e7223037d4 [cache_check] wip 2013-10-02 10:50:42 +01:00
Joe Thornber 17f7c982f2 [caching] hint support 2013-09-24 12:00:09 +01:00
Joe Thornber a05d75611e mapping_array.cc 2013-09-12 14:21:25 +01:00
Joe Thornber dadb32d15f some work on cache_restore 2013-09-12 12:33:32 +01:00
Joe Thornber 6615b25e4b WIP on cache tools 2013-09-11 11:40:46 +01:00
Joe Thornber d3ce6b811b Start stubbing out cache_dump 2013-08-19 12:40:03 +01:00
Joe Thornber 4360c8cbff Some work on cache_check and cache_restore 2013-08-16 16:29:41 +01:00
Joe Thornber 67551d81f1 Put error_state into into it's own file. 2013-08-16 14:07:04 +01:00
Joe Thornber 1e925d4cf1 caching/superblock.{h,cc} 2013-08-16 13:39:12 +01:00
Joe Thornber 0029962f20 Give up with --std=c++11
There are too many distros that use old versions of g++ that don't support it adequately.
2013-08-08 10:49:59 +01:00
Heinz Mauelshagen 38bab662b6 Merge ejt/master 2013-07-30 12:23:13 +02:00
Heinz Mauelshagen b27f12980b Avoid strip at install 2013-07-19 13:28:38 +02:00
Heinz Mauelshagen b8c6d4e943 Makefile.in: add man pages 2013-07-18 15:54:15 +02:00
Heinz Mauelshagen ccbaea0f96 Makefile.in: remove new man pages 2013-07-18 15:21:03 +02:00
Heinz Mauelshagen 9b2783490f Makefile.in: new man pages 2013-07-18 14:52:08 +02:00
Heinz Mauelshagen c1ccc12da0 Makefile.in: uncomment new man pages for clean patch 2013-07-18 14:52:08 +02:00
Heinz Mauelshagen e8f9fc6dff thin_metadata_size: use NOO_NUMBER whilst defining full bool 2013-07-18 14:52:08 +02:00
Heinz Mauelshagen 6248f60acc Makefile.in: fluff 2013-07-18 14:52:08 +02:00
Heinz Mauelshagen ed88882007 autconf: support build of thin_metadata_size.c 2013-07-18 14:52:08 +02:00
Robin H. Johnson e38c3f9ede Improve build: LDFLAGS.
Linker must be passed LDFLAGS for some distributions, as CXXFLAGS should
not normally contain any linker flags (may fail if passed to
compile-only invocations).

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2013-07-14 21:10:44 +00:00
Joe Thornber 8a2b3f91e7 Don't install thin_metadata_size (needs recoding in C++) 2013-07-10 16:43:25 +01:00
Heinz Mauelshagen 344d83774d Makefile.in: fix install flaws 2013-07-10 17:16:56 +02:00
Joe Thornber 90190912ff [build] Fix bug introduced today in the deps 2013-06-27 12:42:52 +01:00
Joe Thornber 759263d388 [build] DEPs build quietly now and aren't generated when making clean. 2013-06-27 10:17:38 +01:00
Joe Thornber 51852e0aef [build] remove cache_check from the default build 2013-06-25 11:11:00 +01:00
Joe Thornber 46c0f74a9e [build] install thin_rmap and thin_metadata_calc 2013-06-25 10:46:10 +01:00
Joe Thornber 00b0c4356e [build] include btree.cc in the tools build (was just in unit-tests). 2013-06-20 14:46:46 +01:00
Joe Thornber 83a09e1a2a [btree] use a block_ref_counter for internal nodes 2013-06-20 14:29:48 +01:00
Joe Thornber 3bfae3461e make clean now uses find to locate all object files 2013-06-19 13:10:12 +01:00
Heinz Mauelshagen f0c9c6ec7b Makefile.in: remove */*.o on clean 2013-06-19 13:49:00 +02:00
Joe Thornber 21074456ca thin_repair 2013-06-19 12:39:28 +01:00
Joe Thornber 1a88404493 Knock thin_debug out of the build for now. 2013-06-19 12:10:21 +01:00
Joe Thornber 172353d1a5 thin_check had fallen out of the makefile 2013-06-19 11:32:16 +01:00
Joe Thornber 8fab2e37af [thin_rmap] now produces ranged output. 2013-05-24 13:43:55 +01:00
Joe Thornber 41204dceaa [thin_rmap] rmap_visitor 2013-05-24 13:30:17 +01:00
Joe Thornber bc67fc17b1 [thin_rmap] Stub 2013-05-23 13:15:00 +01:00
Joe Thornber 6fe92d4a63 [thin_check] wire up mapping tree checker 2013-05-22 14:55:28 +01:00
Joe Thornber b456f16aa0 [thin_check] Wire up check_device_tree. 2013-05-21 15:49:20 +01:00
Joe Thornber 24ddc4f5c4 Move superblock_validator into superblock.{h,cc} 2013-05-21 13:20:03 +01:00
Joe Thornber 553f73b826 superblock_checker.* -> superblock.*, remove metadata_disk_structures.* and rearrange namespaces a bit. 2013-05-21 12:46:07 +01:00
Joe Thornber 4e61578508 mapping_tree.{h,cc} 2013-05-21 11:46:37 +01:00
Joe Thornber fcb617f858 device_tree 2013-05-20 16:09:13 +01:00
Joe Thornber 224ef1f429 switch to -std=c++11 2013-05-14 15:37:57 +01:00
Joe Thornber 1a8b1b29e8 Start device_checker 2013-04-29 13:24:19 +01:00
Joe Thornber a55f6fcf78 A stack of thin_check refactorings 2013-04-25 16:27:07 +01:00
Joe Thornber 20ff78c818 [thin_check] Start refactoring metadata_checker. 2013-04-23 15:21:44 +01:00
Joe Thornber e0230c5c55 Fix broken dependencies for .gmo files 2013-04-22 13:50:40 +01:00
Joe Thornber dde775ef52 thin_metadata_t now reproduces the recursive new_block() error. 2013-04-11 13:41:43 +01:00
Joe Thornber 7d3ab79789 some build updates 2013-03-25 12:56:03 +00:00
Joe Thornber 89f658862a [build] add features target 2013-03-25 11:53:55 +00:00
Joe Thornber be7801f111 some __le -> le issues 2013-03-22 15:48:43 +00:00
Joe Thornber a7081a4789 Some build updates 2013-03-22 15:41:13 +00:00
Joe Thornber 0a70c17268 Convert bitset_t to gmock 2013-03-22 14:36:31 +00:00
Joe Thornber f9bf18adf6 Move array_t to gmock 2013-03-22 13:42:20 +00:00
Joe Thornber 50bab1c90a Quieten down the build 2013-03-22 12:19:31 +00:00
Joe Thornber 843cf76d41 cache tools wip 2013-03-15 16:24:17 +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 aacca8d963 Introduce persistent-data/data-structures/ 2013-01-11 19:26:51 +00:00
Joe Thornber 326fd3408b move space maps to their own sub directory 2013-01-10 21:36:38 +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 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 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 290643f85f merge 2012-03-15 15:13:32 +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 da8afff35f thin_debug 2012-03-08 17:20:46 +00:00
Joe Thornber 606c25d828 thin_dump now takes a --repair option 2012-03-02 10:00:31 +00:00
Joe Thornber 5d2f39ad19 add -fno-strict-aliasing 2012-02-29 11:00:13 +00:00
Heinz Mauelshagen 73876ff59d - fix configure.h.in error and .PHONY
- add all target to unit-tests/Makefile.in to make it actually build
2011-12-21 11:31:56 +01:00
Heinz Mauelshagen f7c6cabf33 Rename unit-tests/Makefile.in.in to unit-tests/Makefile.in 2011-12-21 11:08:37 +01:00
Heinz Mauelshagen e2d68de562 - add licence
- try to fix up --enable-testing, but most unit tests don't compile (include
file changes?) or run (missing data?) at present
- support building in different dir from src
- add 'distclean' target and don't build .d files when cleaning
- rebuild if Makefile changes  (didn't bother triggering a build
[Alasdair Kergon]
2011-12-21 11:04:00 +01:00
Heinz Mauelshagen b93e5a8a6f Fix CXX= in Makefile.in 2011-12-16 19:40:03 +01:00
Heinz Mauelshagen e286c7d6aa Remove -s (install) -s which broke debuginfo 2011-12-16 19:33:30 +01:00
Heinz Mauelshagen 4271e592ae Add -s install option to programs 2011-12-16 14:28:38 +01:00
Heinz Mauelshagen d16ae4ed95 specfile name change and man page install Makefile.in fixes [Milan] 2011-12-16 14:24:44 +01:00
Heinz Mauelshagen 504f577240 Move manunal pages install into Makefile.in 2011-12-16 12:17:31 +01:00
Heinz Mauelshagen 30caf729c9 Add *.d to clean target 2011-12-15 19:28:51 +01:00
Joe Thornber 0b8208ffba change install perms to 755 2011-12-15 15:40:47 +00:00
Joe Thornber ade721a08f stop warnings if a dependency file is missing 2011-12-15 15:17:40 +00:00
Joe Thornber 03766d66e3 Install in sbin 2011-12-15 14:44:43 +00:00
Joe Thornber 8b65410f37 thin_repair no longer links with expat 2011-12-15 13:53:07 +00:00
Joe Thornber e52ec8c89c allow make DESTDIR=... install 2011-12-15 13:35:47 +00:00
Heinz Mauelshagen d74b3ff35f Remove boost_program_options from {configure,Makefile}.in 2011-12-14 21:07:57 +01:00
Joe Thornber 78e37bb234 no point making a release target, just run mk_release 2011-12-09 13:01:56 +00:00
Joe Thornber b4e678b42e more build stuff 2011-12-09 12:54:51 +00:00
Joe Thornber 1735982eb5 first pass at autoconfing 2011-12-06 15:47:24 +00:00