Commit Graph

36 Commits

Author SHA1 Message Date
e65958b9aa tools/analyse: explicit size unique_bytes accumulator
This avoids unsigned overflow.
2021-01-23 06:49:49 +10:00
bdc4a09356 tools/analyse: use a deque to avoid expensive reallocations
We can amass a fair amount of allocated memory on some operations, so a
vector resize can exceed the available memory of a system on some
operations.
2021-01-23 06:48:39 +10:00
b5e93c15fb analyse: avoid copying the chunk data for duplicate detection 2020-12-29 08:37:32 +10:00
00dc05ac8f analyse: remove redundant total size calculation 2020-12-29 08:37:11 +10:00
69cd8079da analyse: delay output file creation until after chunk discovery 2020-12-29 08:36:46 +10:00
050ade9787 style 2020-12-29 08:36:38 +10:00
aa90c7ef70 comments 2020-12-29 08:36:21 +10:00
f083ff0f64 analyse: correct the argc offset test 2020-12-29 08:01:53 +10:00
c172ee2c40 chunk/param: add a maximum chunk size param 2020-12-29 08:01:40 +10:00
3ad55453f7 analyse: add directory and recursion support 2020-12-06 11:01:41 +10:00
830fb1f47e chunk/find: remove map in favour of bare queries 2020-12-06 09:34:33 +10:00
66ec824b44 analyse: start using fmtlib for printing 2020-12-06 09:07:27 +10:00
8acdab8111 analyse: correct the percentage calculation scale 2020-12-06 09:00:35 +10:00
139ed04b66 analyse: stub out an output file 2020-12-06 09:00:22 +10:00
09e4cf63bb analyse: correct the argument count index check 2020-12-06 09:00:03 +10:00
f2afa2a421 analyse: move default chunk params into params header 2020-12-06 08:48:20 +10:00
7558c08e7d analyse: provide defaults for bits, window, and minimum 2020-12-06 08:42:01 +10:00
93343f3ffb analyse: move arg enum closer to usage site 2020-12-06 07:14:05 +10:00
7f2b4ba8d9 stat: protect acl and xattr from Windows 2020-12-06 07:03:04 +10:00
9b6e1e770f analyse: print duplicated count and total size 2020-12-06 06:22:52 +10:00
35a8420d28 analyse: add chunk equality comparator 2020-12-06 06:22:39 +10:00
69447ce54b build; bump dependencies and fix attendant compilation errors 2020-10-04 10:52:50 +11:00
8b620dc4f5 tools/emory: add stub loader executable 2019-04-27 10:44:33 +10:00
d83601755c emory/fs: initial experiments in xattr iteration 2019-04-26 12:47:04 +10:00
6ca1fe1670 tools/analyse: use the common API 2019-04-26 11:16:02 +10:00
54c466f5e5 emory: break comparison tool into distinct units 2019-04-26 11:10:07 +10:00
effa2f6ec1 tools/compare: print number of destination chunks 2019-04-26 10:27:44 +10:00
394d5c95dc whitespace 2019-04-26 09:46:32 +10:00
89e898ab20 tools/compare: print full match data 2019-04-26 09:45:43 +10:00
df7b136f24 tools/compare: record the source of the matched blocks 2019-04-26 09:25:41 +10:00
f063bdfd8e tools/compare: allow multiple sources 2019-04-26 09:08:03 +10:00
fd3f1bfc34 acl: add trivial ACL printing 2019-04-25 14:19:55 +10:00
d9f9ca9a43 tools/stat: correctly test errno for buffer doubling 2019-04-25 14:19:30 +10:00
4d538190f2 tools/stat: break main into functions 2019-04-25 09:22:43 +10:00
2d7eb25167 tools/stat: add trivial file meta data listing tool 2019-04-24 13:26:21 +10:00
6dd378d198 build: move tools to a directory 2019-04-24 07:46:42 +10:00