Commit Graph

  • 5d28c05dc3 [thin_check] detail and mapping trees weren't being counted properly for the metadata snap. Joe Thornber 2015-08-04 15:14:02 +01:00
  • b67cc29609 [btree] bad checksum exceptions now mention the block location Joe Thornber 2015-08-04 15:12:41 +01:00
  • 7134a58134 [thin_metadata_size] use floor rather than truncl Joe Thornber 2015-07-30 11:45:13 +01:00
  • 271ff67f91 Cache check close RO opened device before reopen. Zdenek Kabelac 2015-07-15 13:54:21 +02:00
  • 3a881e9513 [thin_delta] Allow optional arg when using -m Joe Thornber 2015-07-28 11:26:58 +01:00
  • 93fb540bd4 [thinp tools] move find_metadata_snap to superblock.cc Joe Thornber 2015-07-27 14:30:09 +01:00
  • 642ae6e7c2 Tools now open the metadata device in O_EXCL mode. Joe Thornber 2015-07-07 13:47:00 +01:00
  • 7d8b6adf4e v0.5.2 Joe Thornber 2015-07-03 13:00:49 +01:00
  • f85b7cef3f thin_dump, thin_check: Fix bug in damage reporting Joe Thornber 2015-07-03 13:00:13 +01:00
  • 33af9774ae v0.5.1 Joe Thornber 2015-06-25 10:50:29 +01:00
  • c6844dc7e6 [metadata space map] Restrict space map size Joe Thornber 2015-06-24 16:32:17 +01:00
  • 125cec0193 bump to version 0.5 Joe Thornber 2015-06-22 12:02:16 +01:00
  • 4ee6df3a70 [cucumber tests] update thin_delta help output Joe Thornber 2015-06-22 11:58:18 +01:00
  • 082491d140 thin_check: tidy up some unintuitive code Joe Thornber 2015-06-22 11:13:19 +01:00
  • 6ab0833b2e cache_check: add --clear-needs-check Joe Thornber 2015-06-09 14:01:22 +01:00
  • c8d8af488f [btree] When using lower_bound() assign to an int rather than unsigned Joe Thornber 2015-05-26 14:24:55 +01:00
  • cf903cfea6 [btree] lower bound search should return an empty optional if every entry in the node is higher. Joe Thornber 2015-05-26 14:09:29 +01:00
  • 880785a9bf [damage_tracker] Reset the tracker in the end() method so we can reuse it. Joe Thornber 2015-05-26 12:49:27 +01:00
  • 85d1701ba1 [btree_damage_visitor] Check the value_size agrees. Joe Thornber 2015-05-26 12:06:34 +01:00
  • 9de2b26c25 Merge branch 'master' of github.com:jthornber/thin-provisioning-tools Joe Thornber 2015-04-13 16:57:14 +01:00
  • 270c0f7041 [thin_check] factor out check_space_map_counts() Joe Thornber 2015-04-08 14:07:38 +01:00
  • a934ee69c4 [error_state] add a sneaky little stream operator to simplify combining error_states Joe Thornber 2015-04-08 13:58:41 +01:00
  • 0fee897fda [thin_check] A space map count being too high should be a NON_FATAL error. Joe Thornber 2015-04-08 12:32:31 +01:00
  • 34df640d8d [metadata space map] index bitmap root wasn't being counted in count_metadata() Joe Thornber 2015-04-08 12:32:00 +01:00
  • 20079f3d28 Pass tm's by reference Joe Thornber 2015-04-07 13:31:45 +01:00
  • ee200ba85b Merge branch 'master' into space-map-checking Joe Thornber 2015-04-07 12:18:23 +01:00
  • 7f643b7050 [thin] Use specific damage visitors to improve error messages. Joe Thornber 2015-04-07 12:16:46 +01:00
  • f581f34be8 add comment explaining mtree_traits Joe Thornber 2015-04-07 12:10:38 +01:00
  • cc44652cc3 [thin_delta] support metadata snapshots Joe Thornber 2015-03-25 11:10:18 +00:00
  • 0e72f772d0 [thin_delta] Add superblock and diff tags Joe Thornber 2015-03-25 10:09:39 +00:00
  • 182be112fa Add thin_delta to the build Joe Thornber 2015-03-24 14:09:36 +00:00
  • 055b64a9c0 Add a simple man page for thin_delta Joe Thornber 2015-03-24 14:08:21 +00:00
  • 45422dbf7a [thin_delta] Mappings were being missed off from the tail of a device Joe Thornber 2015-03-24 13:36:45 +00:00
  • 4d7da25859 Add thin_trim man page Joe Thornber 2015-03-10 08:52:13 +00:00
  • c6ae25417b Add missing include to thin_trim Joe Thornber 2015-01-17 11:45:09 +00:00
  • 408b38a0f8 Forgot error_string.h/cc from previous commit Joe Thornber 2015-01-17 10:22:57 +00:00
  • 25b4b526f4 Introduce error_string() as a portable replacement for strerror_r() Joe Thornber 2015-01-16 12:54:09 +00:00
  • f1130198e1 include libgen.h in application.cc for the declaration of basename. Joe Thornber 2015-01-16 10:48:19 +00:00
  • ef517035f1 The file boost/random/uniform_int_distribution.hpp was introduced in boost version 1.47. If we have older Boost, use random numbers from libc. Joe Thornber 2015-01-16 10:19:25 +00:00
  • 50341faa64 Fix these errors: unit-tests/array_block_t.cc:38: error: using 'typename' outside of template unit-tests/array_block_t.cc:39: error: using 'typename' outside of template unit-tests/array_block_t.cc:40: error: using 'typename' outside of template Joe Thornber 2015-01-16 10:18:21 +00:00
  • f25e0ca6d3 g++-4.2 and older doesn't accept binary constants. Joe Thornber 2015-01-16 10:15:55 +00:00
  • bd2c0df226 Fix this error: persistent-data/data-structures/bloom_filter.cc:10: error: integer constant is too large for 'unsigned long' type Joe Thornber 2015-01-16 10:15:01 +00:00
  • fe64da2c7c Fix these errors: thin-provisioning/thin_pool.cc:206: error: reference to 'sector_t' is ambiguous ./thin-provisioning/metadata.h:40: error: candidates are: typedef uint64_t thin_provisioning::sector_t ./block-cache/block_cache.h:20: error: typedef uint64_t bcache::sector_t thin-provisioning/thin_pool.cc:206: error: reference to 'sector_t' is ambiguous ./thin-provisioning/metadata.h:40: error: candidates are: typedef uint64_t thin_provisioning::sector_t ./block-cache/block_cache.h:20: error: typedef uint64_t bcache::sector_t thin-provisioning/thin_pool.cc:206: error: 'sector_t' does not name a type Joe Thornber 2015-01-16 10:14:28 +00:00
  • 150a3c486d Fix these errors: caching/superblock.cc:306: error: reference to 'validator' is ambiguous caching/superblock.cc:271: error: candidates are: namespace validator { } ./block-cache/block_cache.h:22: error: class bcache::validator Joe Thornber 2015-01-16 10:13:36 +00:00
  • dd9bd206c6 Old glibc doesn't provide these macros, so we have to define them. Joe Thornber 2015-01-16 10:12:30 +00:00
  • 8e92158055 [thin_trim] first code drop. Joe Thornber 2014-11-18 16:03:03 +00:00
  • e476515087 Merge pull request #19 from aholler/master Joe Thornber 2014-11-15 16:14:27 +00:00
  • b56aec4d96 [unit-tests/bloom_filter_t.cc] Fix ambigious uniform_int_distribution (C++11) Alexander Holler 2014-11-15 15:42:58 +01:00
  • 691ad88261 [caching/hint_array.cc] Fix ambigious array (C++11) Alexander Holler 2014-11-15 14:45:11 +01:00
  • baa70ecfe4 [caching/hint_array.cc] Fix ambigious shared_ptr (C++11) Alexander Holler 2014-11-15 14:17:22 +01:00
  • 92345b4b64 [persistent-data/space_map.h] Make destructor for space_map_detail::damage public Alexander Holler 2014-11-15 13:45:14 +01:00
  • 5fe9039d38 squash another compiler warning Joe Thornber 2014-09-08 11:07:46 +01:00
  • 2331204475 Update Gemfile Joe Thornber 2014-09-04 11:52:12 +01:00
  • bb2c4ec200 bump version Joe Thornber 2014-09-04 11:37:31 +01:00
  • 626ddd8efb Merge branch 'master' of github.com:jthornber/thin-provisioning-tools Joe Thornber 2014-09-04 11:36:53 +01:00
  • 41354f10f5 provide << operator for optionals Joe Thornber 2014-09-04 11:26:43 +01:00
  • 39990e675c bump version Joe Thornber 2014-09-03 13:15:04 +01:00
  • 4c026458d5 Squash a couple of annoying compiler warnings Joe Thornber 2014-09-02 10:13:26 +01:00
  • 23735a0253 update CHANGES Joe Thornber 2014-09-01 15:45:29 +01:00
  • e4296c5393 [cache_dump feature] switch to using the new /cache dump|restore/ pattern Joe Thornber 2014-09-01 15:26:42 +01:00
  • 27d754bae0 Update Gemfile.lock Joe Thornber 2014-09-01 15:26:28 +01:00
  • 666c7ac105 [era] add an include that's needed on debian Joe Thornber 2014-09-01 15:11:04 +01:00
  • b2d7dec460 [build] add bin/pdata_tools to the PROGRAMS var so 'make clean' removes it Joe Thornber 2014-09-01 15:10:32 +01:00
  • 99d851cd29 [cache features] add a test for dump/restore cycle being a noop Joe Thornber 2014-09-01 14:57:10 +01:00
  • 562661c63e [era features] Added tests to check that dump/restore is a noop Joe Thornber 2014-09-01 14:45:52 +01:00
  • 4c04a18b05 [era] era_dump should show bool values as 'true' or 'false' rather than 0 or 1 Joe Thornber 2014-09-01 14:45:05 +01:00
  • 8761b6defc [progress bar] Add an extra newline at the end Joe Thornber 2014-09-01 14:44:37 +01:00
  • 93468190bd [bitset] When reopening a bitset some bits could be lost at the far end. Joe Thornber 2014-09-01 14:17:44 +01:00
  • 14cfcf2dfd [bitset] Don't visit bits in the tail end of the final word if they're beyond the nr bits in the bitset. Joe Thornber 2014-09-01 14:16:03 +01:00
  • 67865e0732 [bitset_t] Add test for walk_bitset Joe Thornber 2014-09-01 14:15:32 +01:00
  • 5a6b92312e [features] check that quiet mode really outputs nothing. Joe Thornber 2014-08-28 14:00:08 +01:00
  • 0608df97d8 bug introduced when renaming to pdata_tools Joe Thornber 2014-08-28 11:43:02 +01:00
  • 5a45f5ac95 [bild] strip the binary when installing Joe Thornber 2014-08-28 11:06:16 +01:00
  • 3cafc0d6e8 fix symbolic link at install time Christian Hesse 2014-08-27 22:31:50 +02:00
  • efe1a2a70f update CHANGES Joe Thornber 2014-08-27 14:08:06 +01:00
  • 6f8b7e2914 [all] Build a single executable Joe Thornber 2014-08-27 14:01:31 +01:00
  • c1e0799367 [build] deps weren't being calculated for the top level source file of some of the tools. Joe Thornber 2014-08-26 13:13:32 +01:00
  • 828f654800 [*_restore] Add progress bar to cache_restore and era_restore. Joe Thornber 2014-08-26 13:05:21 +01:00
  • e31ffe0874 update ignore file Joe Thornber 2014-08-26 11:26:18 +01:00
  • 7f6bdf2acf Add callgrind files to the ignore file Joe Thornber 2014-08-26 11:24:07 +01:00
  • d17ad86a88 [*_restore] Use a little wrapper class for the expat XML_Parser to ensure it gets destroyed. Joe Thornber 2014-08-26 11:23:29 +01:00
  • a7c96c0e1e [everything] Fix circular shared pointer references. Joe Thornber 2014-08-26 11:14:49 +01:00
  • 930cc9d412 [block-manager] Superblocks weren't being marked as DIRTY Joe Thornber 2014-08-21 14:25:02 +01:00
  • b493a30b65 [block-cache] tweak when validators are swapped Joe Thornber 2014-08-21 14:23:14 +01:00
  • 6f760ccd87 [block-cache] When changing validators the new validator check fn was only being called if the block was dirty. Joe Thornber 2014-08-21 14:22:14 +01:00
  • b5a9cd6043 [block-cache] Create just one noop_validator Joe Thornber 2014-08-21 14:20:36 +01:00
  • 4799becb01 [block-cache] fix leaking validators Joe Thornber 2014-08-21 12:54:39 +01:00
  • 0d3942cae8 [block-manager] ensure the superblock cannot be taken concurrently with any other lock. Joe Thornber 2014-08-21 12:18:05 +01:00
  • 3724f78a13 [block_t] Fix a validator test Joe Thornber 2014-08-21 11:51:04 +01:00
  • e3d459a148 [era_restore] add some cucumber tests Joe Thornber 2014-08-21 11:27:52 +01:00
  • feb8a03d5f [btree_damage_tracker] Initialise all path_tracker objects with a null path. Joe Thornber 2014-08-21 11:25:07 +01:00
  • 1a632f9d53 [era/xml restorer] bug fixes Joe Thornber 2014-08-21 11:22:12 +01:00
  • 5465c95134 [era/xml format] bring in line with the Ruby library Joe Thornber 2014-08-21 11:21:47 +01:00
  • 85ab149685 [era/metadata.{h,cc}] Support creation of new metadata Joe Thornber 2014-08-21 11:20:43 +01:00
  • bf1b65e62f Update gemfile.lock Joe Thornber 2014-08-21 11:18:06 +01:00
  • 6f804cab24 [block_manager] Track the number of superblocks, throw an exception if someone tries to open two a once. Joe Thornber 2014-08-21 11:17:20 +01:00
  • 94356a1648 [era_check] Was returning after just checking the superblock. Joe Thornber 2014-08-15 10:11:35 +01:00
  • 157eca4dd0 [era_restore] tweak help message Joe Thornber 2014-08-12 10:20:29 +01:00
  • 75a797253e [build] build era_restore by default Joe Thornber 2014-08-12 10:18:58 +01:00
  • ad38cfe9c9 [block cache] Comment out the statistics output for now Joe Thornber 2014-08-12 10:15:14 +01:00