From 9e82a173a79930c65be08e15cf71d539203e6375273994b3f0d14d7fa710a8c1 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 22 Jul 2024 08:43:03 +0000 Subject: [PATCH] - Update to version 1.0.13: * bump version to 1.0.13 * [io_engine] Remove duplicate code in tests * [build] Update quick-xml to v0.36 * [build] Update dependencies * [doc] Update CHANGES * [thin_check] Correct the number of devices to check in logs * [doc] Update TODO list * [man] Update man page for thin_ls * [io_engine] Add test cases for SyncIoEngine::write_many() * [io_engine] Enlarge the batch size for SyncIoEngine to do vectored write * [io_engine] Use vectored write in sync io * [tests] Use sha256sum to avoid collision * [all] Fix clippy lints * [tests] Fix thin snapshot xml generator * [tests] Fix the mapped_blocks for thins in generated xml * [thin_check] Log the number of exclusive devices in metadata snapshot * [devtools] Fix parsing subcommands through symlinks * deps: bump libc from 0.2.153 to 0.2.155 * [thin_repair] Support repairing device details tree * [tests] Replace duplicate code with utility functions * [thin_repair] Remove unused code * [thin_repair] Preserve the timestamp of stale superblock if needed * [thin_explore] Fix missing version option * Add a nix flake to provide a dev env * [thin_delta] Update comments * [tests] Test cache_check --auto-repair and --clear-needs-check-flag * [tests] Introduce cache_generate_damage * [tests] Add broken pipe tests for cache_dump and era_dump * [cache_check] Extend the --clear-needs-check-flag option to have auto-repair caps OBS-URL: https://build.opensuse.org/package/show/Base:System/thin-provisioning-tools?expand=0&rev=74 --- .gitattributes | 23 ++ .gitignore | 1 + _service | 25 ++ _servicedata | 4 + thin-provisioning-tools-1.0.12.tar.zst | 3 + thin-provisioning-tools-1.0.13.tar.zst | 3 + thin-provisioning-tools.changes | 373 +++++++++++++++++++++++++ thin-provisioning-tools.obsinfo | 4 + thin-provisioning-tools.spec | 62 ++++ vendor.tar.zst | 3 + 10 files changed, 501 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _servicedata create mode 100644 thin-provisioning-tools-1.0.12.tar.zst create mode 100644 thin-provisioning-tools-1.0.13.tar.zst create mode 100644 thin-provisioning-tools.changes create mode 100644 thin-provisioning-tools.obsinfo create mode 100644 thin-provisioning-tools.spec create mode 100644 vendor.tar.zst diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..71d5b7c --- /dev/null +++ b/_service @@ -0,0 +1,25 @@ + + + https://github.com/jthornber/thin-provisioning-tools.git + @PARENT_TAG@ + git + * + v(.*) + enable + refs/tags/v1.0.13 + + + + *.tar + zst + + + + thin-provisioning-tools + zst + true + + + thin-provisioning-tools + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..8986319 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/jthornber/thin-provisioning-tools.git + 116c05345bed5fe727992c3458311606d5443ff6 \ No newline at end of file diff --git a/thin-provisioning-tools-1.0.12.tar.zst b/thin-provisioning-tools-1.0.12.tar.zst new file mode 100644 index 0000000..4bf28a1 --- /dev/null +++ b/thin-provisioning-tools-1.0.12.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfec3a8843bc14f29ef32bf58dc27b8422d77077f5c3651c1aeaaec44412f607 +size 341852 diff --git a/thin-provisioning-tools-1.0.13.tar.zst b/thin-provisioning-tools-1.0.13.tar.zst new file mode 100644 index 0000000..18297bf --- /dev/null +++ b/thin-provisioning-tools-1.0.13.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8b18cc53e2c39ab2072766fc9c19f89483a0c7b2e28f56a3d67f3f4250da4c13 +size 350342 diff --git a/thin-provisioning-tools.changes b/thin-provisioning-tools.changes new file mode 100644 index 0000000..65f6bf4 --- /dev/null +++ b/thin-provisioning-tools.changes @@ -0,0 +1,373 @@ +------------------------------------------------------------------- +Mon Jul 22 08:21:27 UTC 2024 - Martin Pluskal + +- Update to version 1.0.13: + * bump version to 1.0.13 + * [io_engine] Remove duplicate code in tests + * [build] Update quick-xml to v0.36 + * [build] Update dependencies + * [doc] Update CHANGES + * [thin_check] Correct the number of devices to check in logs + * [doc] Update TODO list + * [man] Update man page for thin_ls + * [io_engine] Add test cases for SyncIoEngine::write_many() + * [io_engine] Enlarge the batch size for SyncIoEngine to do vectored write + * [io_engine] Use vectored write in sync io + * [tests] Use sha256sum to avoid collision + * [all] Fix clippy lints + * [tests] Fix thin snapshot xml generator + * [tests] Fix the mapped_blocks for thins in generated xml + * [thin_check] Log the number of exclusive devices in metadata snapshot + * [devtools] Fix parsing subcommands through symlinks + * deps: bump libc from 0.2.153 to 0.2.155 + * [thin_repair] Support repairing device details tree + * [tests] Replace duplicate code with utility functions + * [thin_repair] Remove unused code + * [thin_repair] Preserve the timestamp of stale superblock if needed + * [thin_explore] Fix missing version option + * Add a nix flake to provide a dev env + * [thin_delta] Update comments + * [tests] Test cache_check --auto-repair and --clear-needs-check-flag + * [tests] Introduce cache_generate_damage + * [tests] Add broken pipe tests for cache_dump and era_dump + * [cache_check] Extend the --clear-needs-check-flag option to have auto-repair caps + * [thin_ls] Support listing the highest mapped block + * [btree] Remove unused imports + * [btree] Add BTreeIterator type + * [*_dump] Simplify the handling of error context + * [cache/era_dump] Do not print error messages on BrokenPipe (EPIPE) + * [tests] Explicitly set the fifo capacity for triggering EPIPE + * [tests] Support leaving TestDir undeleted for debugging failed commands + * [tests] Ensure thin_dump's output in broken pipe tests + * [tests] Fix closing the pipe fd twice + * [tests] Explicitly set the pipe capacity for triggering EPIPE + +------------------------------------------------------------------- +Tue Apr 23 11:19:26 UTC 2024 - Martin Pluskal + +- Update vendored dependencies + +------------------------------------------------------------------- +Fri Mar 22 12:23:46 UTC 2024 - Martin Pluskal + +- Enable test execution during build +- Modernise cargo packaging usage in spec file + +------------------------------------------------------------------- +Mon Feb 26 18:02:16 UTC 2024 - Martin Pluskal + +- Update to version 1.0.12: + * [thin_dump] Do not print error messages on BrokenPipe (EPIPE) + * Bump version to 1.0.12 + * [build] Update dependencies + * [commands] Fix version string compatibility issue with LVM + * [thin_dump] Do not print error messages on BrokenPipe (EPIPE) + * [build] Update license to SPDX identifier + +------------------------------------------------------------------- +Tue Feb 13 13:57:39 UTC 2024 - Martin Pluskal + +- Update to version 1.0.11: + * Bump version nr to 1.0.11 + * [thin/cache_check] Print suggestive hints for improving error resolution + * [tests] Fix a typo in command name + * [cache_check] Fix boundary check on the bitset for cached blocks + +------------------------------------------------------------------- +Wed Jan 24 13:25:36 UTC 2024 - Martin Pluskal + +- Update to version 1.0.10: + * Bump version to 1.0.10 + * [build] Update dependencies + * [all] Fix clippy lints and typos + * [space_map] Allow non-zero values in unused index block entries + * [thin_repair] Fix child keys checking on the node with a zero key + * [thin_check] Tweak the logs to avoid confusion with node errors + * [thin_check] Support overriding the details tree root + * [tests] Update expected help text for _pack and _unpack + * [all] Fix clippy lints on optional targets + * [build] Simplify the pre-commit hooks by checking all the targets at once + * [thin_metadata_unpack] Allow long format for input and output + * [space map] Fix incorrect index_entry.nr_free while expansion + * thin_metadata_pack: Allow long format for input and output + +------------------------------------------------------------------- +Mon Dec 18 14:36:10 UTC 2023 - Martin Pluskal + +- Update to version 1.0.9: + * Update Cargo.lock + * [build] Check Cargo.lock while it is updated + * Bump version to 1.0.9 + * [build] Sync dependencies versions between Cargo.lock and Cargo.toml + * [thin_check] Extend the --clear-needs-check-flag option to have auto-repair caps + * [build] Require that Cargo.lock is up to date + * [all] Fix clippy lints for Rust 1.74.0 + * Update cargo.lock + * bump version nr to 1.0.8 + * [sync io engine] Stop reusing the same gap buffer. + * [tests] Fix extra arguments for IO tests + +------------------------------------------------------------------- +Tue Nov 28 12:18:15 UTC 2023 - Martin Pluskal + +- Update vendored dependencies + +------------------------------------------------------------------- +Tue Nov 14 09:09:28 UTC 2023 - Martin Pluskal + +- Update to version 1.0.7: + * v1.0.7 + * [thin_generate_metadata] Fix command line parsing + * [tests] Introduce era_generate_metadata + * [era] Factor out MetadataGenerator + * [era_invalidate] Fix missing value_parser for the --written-since option + * [tests] Support additional program-specific arguments in IO tests + * [examples] Add a custom emitter examples + * Remove unnecesary type casting + * [file_utils] Verify ioctl request code in tests + * [file_utils] Fix the ioctl request code for the powerpc architecture + * bump version to 1.0.6 + * [build] Update dependencies + * [thin_delta] Remove redundant code + * [thin_delta] Fix range mappings construction + * [thin_delta] Fix command line parsing + * [pack/unpack] Fix clippy lints + * Bump version to v1.05 + * Add some test cases to delta_list + * [pack/unpack] Fix some wrapping issues + * [tests] Ensure the scope of thin_check --super-block-only + * [tests] Test repairing thin metadata with stale superblock + * [thin_generate_damage] Support overriding superblock fields + * [tests] Validate more fields in repaired thin superblock + * [thin_explore] Fix visiting empty leaves + * [xml] Improve xml value parsing and error handling + * [all] Update error messages for xml parsers + * [build] Update quick-xml to v0.29 + * [build] Update clap to v4.3 + * [build] Update dependencies + * [thin_rmap] Check the input ranges + * [thin_dump/repair] Fix the ordering of found empty roots + * [report] Fix stderr redirection + * [thin_dump/repair] Ensure the tools never fail with repairable metadata + * [build] allow overriding PDATA_TOOLS in Makefile + * [build] fix build on musl + * [thin_stat] Display column headers and further statistics + * [thin_stat] Display data run length statistics for measuring data locality + * [thin_explore] Fix unit conversion for data block size + * [thin_explore] Display space maps usage and roots + * [thin_stat] Fix opening read-only files + * [thin_dump] Fix a regression that cannot keep shared defs with only one predecessor + * [commands] Print out error root cause if available + +------------------------------------------------------------------- +Fri Jun 9 12:18:33 UTC 2023 - Martin Pluskal + +- Update to version 1.0.4: + * Bump version to 1.0.4 + * [build] Update dependencies + * [all] Fix clippy lints for Rust 1.69.0 + * [build] Drop the nix crate + * [file_utils] Fix the BLKGETSIZE64 ioctl for 32-bit platoforms + * [file_utils] Use stat64 explicitly to handle large files on 32-bit systems + * [write_batcher] Fix compilation error on 32-bit platforms + +------------------------------------------------------------------- +Wed Jun 9 13:29:05 UTC 2021 - Wolfgang Frisch + +- Link as position-independent executable (bsc#1184124). + +------------------------------------------------------------------- +Thu Aug 20 08:19:34 UTC 2020 - Martin Pluskal + +- Update to version 0.9.0: + * New support tools: thin_metadata_{pack,unpack}. + * thin_check can now check metadata snapshots. + * some metadata space map bug fixes. + * thin_check --auto-repair + * Stop thin_dump --repair/thin_repair ignoring under populated nodes. +- Drop no longer needed patches: + * boost_168.patch + * ft-lib_bcache-rename-raise-raise_.patch + +------------------------------------------------------------------- +Tue Aug 13 14:53:11 UTC 2019 - Martin Pluskal + +- Update to version 0.8.5 + * Mostly internal changes + +------------------------------------------------------------------- +Mon Aug 5 15:46:19 UTC 2019 - Stefan BrĂ¼ns + +- Fix name clash with raise() from signal.h, add + ft-lib_bcache-rename-raise-raise_.patch + +------------------------------------------------------------------- +Wed May 29 15:00:34 UTC 2019 - Martin Pluskal + +- Update to version 0.8.3: + * Mostly internal changes + +------------------------------------------------------------------- +Fri Aug 17 11:20:11 UTC 2018 - adam.majer@suse.de + +- boost_168.patch: fix build with Boost 1.68. This version of Boost + removes compatibility SHA1 header from Uuid library. (bsc#1105088) + +------------------------------------------------------------------- +Thu May 31 13:57:20 UTC 2018 - mpluskal@suse.com + +- Update to version 0.7.6: + * Mostly internal changes + +------------------------------------------------------------------- +Wed Mar 14 08:55:26 UTC 2018 - mpluskal@suse.com + +- Modernise spec file with spec-cleaner + +------------------------------------------------------------------- +Wed Dec 6 15:51:27 UTC 2017 - mpluskal@suse.com + +- Update to version 0.7.5: + * Fix a bug that stopped cache_restore working with metadata + version 2. + +------------------------------------------------------------------- +Tue Oct 17 10:37:52 UTC 2017 - mpluskal@suse.com + +- Update to version 0.7.4: + * No changes provided for this release + +------------------------------------------------------------------- +Mon Oct 9 10:41:16 UTC 2017 - mpluskal@suse.com + +- Update to version 0.7.3: + * Misc internal changes + * Updates to tests + +------------------------------------------------------------------- +Mon Oct 2 12:18:40 UTC 2017 - mpluskal@suse.com + +- Update to version 0.7.2: + * Misc internal changes + * Updated documentation and manpages + +------------------------------------------------------------------- +Tue Sep 5 10:21:05 UTC 2017 - mpluskal@suse.com + +- Update to version 0.7.1: + * Misc internal changes +- Enable development tools building + +------------------------------------------------------------------- +Mon Aug 28 13:42:33 UTC 2017 - mmarek@suse.com + +- Depend on coreutils for initrd macros (bsc#1055492). + +------------------------------------------------------------------- +Sun Jun 18 21:15:28 UTC 2017 - mpluskal@suse.com + +- Update dependencies of scriplets (boo#1044823) + +------------------------------------------------------------------- +Mon Jun 12 07:39:22 UTC 2017 - mpluskal@suse.com + +- Update to version 0.7.0: + * boo#1043043 gh#jthornber/thin-provisioning-tools#79 + * Needed for working with latest lvm2 + +------------------------------------------------------------------- +Thu Feb 2 15:07:13 UTC 2017 - adam.majer@suse.de + +- use individual libboost-*-devel packages instead of boost-devel + +------------------------------------------------------------------- +Thu Aug 18 14:46:59 UTC 2016 - mpluskal@suse.com + +- Update to version 0.6.3: + * Update documentation + +------------------------------------------------------------------- +Sun Jul 10 14:10:36 UTC 2016 - mpluskal@suse.com + +- Update to version 0.6.2: + * Fix bug in thin_delta + * Fix recent regression in thin_repair. + * Force g++-98 dialect + * Fix bug in thin_trim + +------------------------------------------------------------------- +Thu Feb 11 11:21:15 UTC 2016 - rguenther@suse.com + +- Explicitely build with -std=gnu++98 to avoid all sorts of + non-C++11 conforming code. + +------------------------------------------------------------------- +Sat Feb 6 09:04:44 UTC 2016 - mpluskal@suse.com + +- Update to 0.6.1 + * enable builds with static cxx library +- Make building more verbose + +------------------------------------------------------------------- +Fri Jan 29 09:55:49 UTC 2016 - mpluskal@suse.com + +- Conflict with device-mapper < 1.02.115 to avoid file conflicts + +------------------------------------------------------------------- +Sun Jan 24 09:10:29 UTC 2016 - mpluskal@suse.com + +- Use optflags when building +- Install to /usr/sbin +- Do not strip installed binaries +- Use scriplets for initrd regeneration + +------------------------------------------------------------------- +Fri Jan 22 18:38:39 UTC 2016 - mpluskal@suse.com + +- Update to 0.6.0 + * thin_ls + +------------------------------------------------------------------- +Sun Sep 20 09:31:35 UTC 2015 - mpluskal@suse.com + +- Update to 0.5.6 + * era_invalidate may be run on live metadata if the + --metadata-snap option is given. +- Changes for 0.5.5 + * You may now give the --metadata_snap option to thin_delta + without specifying where the snap is. + * Update man pages to make it clearer that most tools shouldn't + be run on live metadata. + * Fix some bugs in the metadata reference counting for + thin_check. + +------------------------------------------------------------------- +Tue Jul 28 08:32:56 UTC 2015 - mpluskal@suse.com + +- Update to 0.5.3 + * thin_delta, thin_trim + * --clear-needs-check flag for cache_check + * space map checking for thin check + +------------------------------------------------------------------- +Thu Apr 23 09:25:05 UTC 2015 - mpluskal@suse.com + +- Update to 0.4.1 + +------------------------------------------------------------------- +Wed Feb 6 13:29:41 UTC 2013 - martin@pluskal.org + +- Cleanup .spec + +------------------------------------------------------------------- +Wed Feb 6 12:59:38 UTC 2013 - martin@pluskal.org + +- Add patch for ldflags - ldflags.patch + +------------------------------------------------------------------- +Tue Jul 31 14:44:47 CEST 2012 - fehr@suse.de + +- Make initial version of package from version 0.1.5 of + thin-provisioning-tools + +------------------------------------------------------------------- diff --git a/thin-provisioning-tools.obsinfo b/thin-provisioning-tools.obsinfo new file mode 100644 index 0000000..52d358a --- /dev/null +++ b/thin-provisioning-tools.obsinfo @@ -0,0 +1,4 @@ +name: thin-provisioning-tools +version: 1.0.13 +mtime: 1720684346 +commit: 116c05345bed5fe727992c3458311606d5443ff6 diff --git a/thin-provisioning-tools.spec b/thin-provisioning-tools.spec new file mode 100644 index 0000000..5228b52 --- /dev/null +++ b/thin-provisioning-tools.spec @@ -0,0 +1,62 @@ +# +# spec file for package thin-provisioning-tools +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: thin-provisioning-tools +Version: 1.0.13 +Release: 0 +Summary: Thin Provisioning Tools +License: GPL-3.0-only +URL: https://github.com/jthornber/thin-provisioning-tools/ +Source0: %{name}-%{version}.tar.zst +Source1: vendor.tar.zst +BuildRequires: cargo-packaging +BuildRequires: suse-module-tools +Requires(post): coreutils +Requires(postun): coreutils +Conflicts: device-mapper < 1.02.115 + +%description +A suite of tools for thin provisioning on Linux. + +%prep +%autosetup -a1 + +%build +%{cargo_build} + +%install +%{cargo_install} + +%check +%{cargo_test} + +%post +%{?regenerate_initrd_post} + +%postun +%{?regenerate_initrd_post} + +%posttrans +%{?regenerate_initrd_posttrans} + +%files +%doc README.md +%license COPYING +%{_bindir}/pdata_tools + +%changelog diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..acf7649 --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8018e642da02032ba93f6e0f5da09af66eccdce8198bb823fb344228efcce524 +size 14197993