thin-provisioning-tools/thin-provisioning
Ming-Hung Tsai b7d418131d Spin-off syscall-related file operations (#78)
* [file_utils] spin-off syscall-related file operations

1. Eliminate the potential circular dependency between
   persistent-data/block.h and persistent-data/file_utils.h,
   if the former one wants to include the latter.
2. Avoid namespace pollution by removing the "using namespace std"
   declaration in block.tcc.
3. Correct the header hierarchy: base/xml_utils.h now no longer
   depends on the higher-level persistent-data/file_utils.h

* [file_utils] support block files in get_file_length()
2017-04-29 18:51:52 +01:00
..
cache_stream.cc Spin-off syscall-related file operations (#78) 2017-04-29 18:51:52 +01:00
cache_stream.h Switch an auto_ptr to a unique_ptr 2017-03-13 13:20:52 +00:00
chunk_stream.cc [thin_show_dups] remove variable number of mems per chunks. 2015-09-04 13:48:02 +01:00
chunk_stream.h [thin_show_dups] tidy up reporting 2015-09-04 15:16:49 +01:00
commands.cc [thin_ll_*] move these to dev tools 2016-03-08 15:52:12 +00:00
commands.h Merge branch 'v0.7-devel' into 2016-03-08-cache-writeback 2016-03-08 16:00:31 +00:00
create_xml_data create_xml_data: fix mapping variation check 2013-07-10 17:15:18 +02:00
device_tree.cc [thin] Add default constructor to struct device_details 2016-03-05 14:12:13 +08:00
device_tree.h [thin] Cleanup: move methods before data member declaration 2016-03-06 23:21:09 +08:00
emitter.h [emitter] Preserve the flags and version entries in superblock 2016-02-27 15:20:02 +08:00
fixed_chunk_stream.cc [thin_show_dups] Support fractions of a pool block size 2015-09-08 17:09:41 +01:00
fixed_chunk_stream.h [thin_show_dups] Support fractions of a pool block size 2015-09-08 17:09:41 +01:00
human_readable_format.cc [emitter] Preserve the flags and version entries in superblock 2016-02-27 15:20:02 +08:00
human_readable_format.h Move source into separate sub directories. 2013-01-02 12:55:41 +00:00
main.cc Move source into separate sub directories. 2013-01-02 12:55:41 +00:00
mapping_tree.cc [thin] store the device id in single_mapping_tree_damage_visitor for error reporting 2016-06-20 00:30:25 +08:00
mapping_tree.h [thin] store the device id in single_mapping_tree_damage_visitor for error reporting 2016-06-20 00:30:25 +08:00
metadata.cc [thin_repair] fix regression in thin_repair 2016-02-16 14:08:43 +00:00
metadata.h [thin_repair] fix regression in thin_repair 2016-02-16 14:08:43 +00:00
metadata_checker.cc Initial code drop for merging block_cache 2014-07-22 16:41:39 +01:00
metadata_checker.h rename range<> -> run<> 2013-05-28 12:20:05 +01:00
metadata_counter.cc [space map disk] tidy up: add const qualifier 2016-06-20 00:40:10 +08:00
metadata_counter.h [space map disk] tidy up: add const qualifier 2016-06-20 00:40:10 +08:00
metadata_dumper.cc [thin] store the device id in single_mapping_tree_damage_visitor for error reporting 2016-06-20 00:30:25 +08:00
metadata_dumper.h [thin_dump] --skip-mappings 2016-03-22 15:01:37 +00:00
pool_stream.cc [thin_show_dups] tidy up reporting 2015-09-04 15:16:49 +01:00
pool_stream.h [thin_show_dups] tidy up reporting 2015-09-04 15:16:49 +01:00
restore_emitter.cc [thin] fix duplicated counting of mapped blocks in restore emitter 2016-08-10 23:40:48 +08:00
restore_emitter.h Move source into separate sub directories. 2013-01-02 12:55:41 +00:00
rmap_visitor.cc Give up with --std=c++11 2013-08-08 10:49:59 +01:00
rmap_visitor.h rename range<> -> run<> 2013-05-28 12:20:05 +01:00
shared_library_emitter.cc [thin_dump] --format custom=<shared lib> 2016-03-24 13:59:08 +00:00
shared_library_emitter.h [thin_dump] --format custom=<shared lib> 2016-03-24 13:59:08 +00:00
static_library_emitter.cc remove debug print 2017-02-06 13:11:10 +03:00
superblock.cc Spin-off syscall-related file operations (#78) 2017-04-29 18:51:52 +01:00
superblock.h [thin_show_metadata] ncurses render 2016-02-26 12:50:17 +00:00
thin_check.cc Merge branch 'master' into v0.7-devel 2016-04-05 13:13:10 +01:00
thin_debug.cc Introduce persistent-data/data-structures/ 2013-01-11 19:26:51 +00:00
thin_delta.cc [thin_delta] backport cherry-picked changes to c++98 2016-02-18 11:37:51 +00:00
thin_dump.cc [thin_dump] --format custom=<shared lib> 2016-03-24 13:59:08 +00:00
thin_generate_metadata.cc thin_generate_metadata 2016-07-15 11:23:07 +01:00
thin_ll_dump.cc [thin_scan][thin_ll_*] fix the data type for getopt_long return value to int 2016-05-20 00:54:31 +08:00
thin_ll_restore.cc [thin_ll_restore] check preallocation of output file 2016-08-10 23:41:25 +08:00
thin_ls.cc [thin] store the device id in single_mapping_tree_damage_visitor for error reporting 2016-06-20 00:30:25 +08:00
thin_metadata_size.cc [base] introduce a command type that gets registered with the app 2016-01-08 12:51:52 +00:00
thin_metadata_size.rb thin_metadata_size: Fix long names of units 2014-05-17 03:51:06 -04:00
thin_pool.cc [thin] fix duplicated counting of mapped blocks in restore emitter 2016-08-10 23:40:48 +08:00
thin_pool.h [thin] fix duplicated counting of mapped blocks in restore emitter 2016-08-10 23:40:48 +08:00
thin_repair.cc Merge branch '2016-07-07-improve-thin-repair-error-message' into v0.7-devel 2016-07-11 15:51:30 +01:00
thin_restore.cc [various] Improve documentation 2016-07-11 14:53:03 +01:00
thin_rmap.cc [file_utils] rename get_nr_blocks() -> get_nr_metadata_blocks() and introduce get_nr_blocks() 2016-03-04 10:43:58 +00:00
thin_scan.cc [thin_scan][thin_ll_*] fix the data type for getopt_long return value to int 2016-05-20 00:54:31 +08:00
thin_show_duplicates.cc Merge branch '2015-08-19-thin-show-duplicates' into merge-thin-ls 2016-02-24 14:31:51 +00:00
thin_show_metadata.cc [thin_show_metadata] ncurses render 2016-02-26 12:50:17 +00:00
thin_trim.cc Spin-off syscall-related file operations (#78) 2017-04-29 18:51:52 +01:00
variable_chunk_stream.cc [thin_show_dups] tidy up reporting 2015-09-04 15:16:49 +01:00
variable_chunk_stream.h [thin_show_dups] tidy up reporting 2015-09-04 15:16:49 +01:00
xml_format.cc [emitter] Preserve the flags and version entries in superblock 2016-02-27 15:20:02 +08:00
xml_format.h [*_restore] Add progress bar to cache_restore and era_restore. 2014-08-26 13:05:21 +01:00