|
|
25ad42 |
#
|
|
|
25ad42 |
# Copyright (C) 2011-2017 Red Hat, Inc
|
|
|
25ad42 |
#
|
|
|
25ad42 |
|
|
|
25ad42 |
Summary: Device-mapper Persistent Data Tools
|
|
|
25ad42 |
Name: device-mapper-persistent-data
|
|
|
b97f69 |
Version: 0.7.3
|
|
|
b97f69 |
Release: 3%{?dist}
|
|
|
25ad42 |
License: GPLv3+
|
|
|
25ad42 |
Group: System Environment/Base
|
|
|
25ad42 |
URL: https://github.com/jthornber/thin-provisioning-tools
|
|
|
b97f69 |
#Source0: https://github.com/jthornber/thin-provisioning-tools/archive/thin-provisioning-tools-% {version}.tar.gz
|
|
|
b97f69 |
Source0: https://github.com/jthornber/thin-provisioning-tools/archive/v%{version}.tar.gz
|
|
|
b97f69 |
Patch0: device-mapper-persistent-data-avoid-strip.patch
|
|
|
b97f69 |
Patch1: device-mapper-persistent-data-cache_restore-v2-dirty-bitset.patch
|
|
|
25ad42 |
|
|
|
25ad42 |
BuildRequires: autoconf, expat-devel, libaio-devel, libstdc++-devel, boost-devel
|
|
|
25ad42 |
Requires: expat
|
|
|
25ad42 |
|
|
|
25ad42 |
%description
|
|
|
25ad42 |
thin-provisioning-tools contains check,dump,restore,repair,rmap
|
|
|
25ad42 |
and metadata_size tools to manage device-mapper thin provisioning
|
|
|
25ad42 |
target metadata devices; cache check,dump,metadata_size,restore
|
|
|
25ad42 |
and repair tools to manage device-mapper cache metadata devices
|
|
|
25ad42 |
are included and era check, dump, restore and invalidate to manage
|
|
|
25ad42 |
snapshot eras
|
|
|
25ad42 |
|
|
|
25ad42 |
%prep
|
|
|
b97f69 |
%setup -q -n thin-provisioning-tools-%{version}
|
|
|
b97f69 |
%patch0 -p1 -b .avoid_strip
|
|
|
b97f69 |
%patch1 -p1 -b .v2_dirty_bitset
|
|
|
25ad42 |
echo %{version}-%{release} > VERSION
|
|
|
25ad42 |
|
|
|
25ad42 |
%build
|
|
|
25ad42 |
autoconf
|
|
|
25ad42 |
%configure --with-optimisation=
|
|
|
25ad42 |
make %{?_smp_mflags} V=
|
|
|
25ad42 |
|
|
|
25ad42 |
%install
|
|
|
25ad42 |
make DESTDIR=%{buildroot} MANDIR=%{_mandir} install
|
|
|
25ad42 |
|
|
|
25ad42 |
%clean
|
|
|
25ad42 |
|
|
|
25ad42 |
%files
|
|
|
25ad42 |
%doc COPYING README.md
|
|
|
25ad42 |
%{_mandir}/man8/cache_check.8.gz
|
|
|
25ad42 |
%{_mandir}/man8/cache_dump.8.gz
|
|
|
b97f69 |
%{_mandir}/man8/cache_metadata_size.8.gz
|
|
|
25ad42 |
%{_mandir}/man8/cache_repair.8.gz
|
|
|
25ad42 |
%{_mandir}/man8/cache_restore.8.gz
|
|
|
25ad42 |
%{_mandir}/man8/cache_writeback.8.gz
|
|
|
25ad42 |
%{_mandir}/man8/era_check.8.gz
|
|
|
25ad42 |
%{_mandir}/man8/era_dump.8.gz
|
|
|
25ad42 |
%{_mandir}/man8/era_invalidate.8.gz
|
|
|
b97f69 |
%{_mandir}/man8/era_restore.8.gz
|
|
|
25ad42 |
%{_mandir}/man8/thin_check.8.gz
|
|
|
25ad42 |
%{_mandir}/man8/thin_delta.8.gz
|
|
|
25ad42 |
%{_mandir}/man8/thin_dump.8.gz
|
|
|
25ad42 |
%{_mandir}/man8/thin_ls.8.gz
|
|
|
25ad42 |
%{_mandir}/man8/thin_metadata_size.8.gz
|
|
|
25ad42 |
%{_mandir}/man8/thin_repair.8.gz
|
|
|
25ad42 |
%{_mandir}/man8/thin_restore.8.gz
|
|
|
25ad42 |
%{_mandir}/man8/thin_rmap.8.gz
|
|
|
25ad42 |
%{_mandir}/man8/thin_trim.8.gz
|
|
|
25ad42 |
%{_sbindir}/pdata_tools
|
|
|
25ad42 |
%{_sbindir}/cache_check
|
|
|
25ad42 |
%{_sbindir}/cache_dump
|
|
|
25ad42 |
%{_sbindir}/cache_metadata_size
|
|
|
25ad42 |
%{_sbindir}/cache_repair
|
|
|
25ad42 |
%{_sbindir}/cache_restore
|
|
|
25ad42 |
%{_sbindir}/cache_writeback
|
|
|
25ad42 |
%{_sbindir}/era_check
|
|
|
25ad42 |
%{_sbindir}/era_dump
|
|
|
25ad42 |
%{_sbindir}/era_invalidate
|
|
|
25ad42 |
%{_sbindir}/era_restore
|
|
|
25ad42 |
%{_sbindir}/thin_check
|
|
|
25ad42 |
%{_sbindir}/thin_delta
|
|
|
25ad42 |
%{_sbindir}/thin_dump
|
|
|
25ad42 |
%{_sbindir}/thin_ls
|
|
|
25ad42 |
%{_sbindir}/thin_metadata_size
|
|
|
25ad42 |
%{_sbindir}/thin_repair
|
|
|
25ad42 |
%{_sbindir}/thin_restore
|
|
|
25ad42 |
%{_sbindir}/thin_rmap
|
|
|
25ad42 |
%{_sbindir}/thin_trim
|
|
|
25ad42 |
|
|
|
25ad42 |
%changelog
|
|
|
b97f69 |
* Tue Nov 14 2017 Marian Csontos <mcsontos@redhat.com> - 0.7.3-3
|
|
|
b97f69 |
- Fix version 2 metadata corruption in cache_restore.
|
|
|
b97f69 |
|
|
|
b97f69 |
* Tue Oct 10 2017 Marian Csontos <mcsontos@redhat.com> - 0.7.3-2
|
|
|
b97f69 |
- Rebuilding with updated source tarball.
|
|
|
b97f69 |
|
|
|
b97f69 |
* Fri Oct 06 2017 Marian Csontos <mcsontos@redhat.com> - 0.7.3-1
|
|
|
b97f69 |
- Update to latest bugfix and documentation update release.
|
|
|
b97f69 |
- *_restore tools wipe superblock as a last resort.
|
|
|
b97f69 |
- Add thin_check --override-mapping-root.
|
|
|
b97f69 |
|
|
|
b97f69 |
* Fri Sep 22 2017 Marian Csontos <mcsontos@redhat.com> - 0.7.2-1
|
|
|
b97f69 |
- Update to latest upstream release including various bug fixes and new features.
|
|
|
b97f69 |
- Fix segfault when dump tools are given a tiny metadata file.
|
|
|
b97f69 |
- Fix -V exiting with 1.
|
|
|
b97f69 |
- Fix thin_check when running on XML dump instead of binary data.
|
|
|
b97f69 |
- Speed up free block searches.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Mon Mar 27 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc6
|
|
|
25ad42 |
- Don't open devices as writeable if --clear-needs-check-flag is not set.
|
|
|
25ad42 |
- Fix cache metadata format version 2 superblock packing.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Wed Mar 22 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc5
|
|
|
25ad42 |
- Switch to a faster implementation of crc32 used for checksums.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Tue Mar 21 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc4
|
|
|
25ad42 |
- Add support for cache metadata format version 2 in cache tools.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Thu Mar 16 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc3
|
|
|
25ad42 |
- Update to latest upstream release including various bug fixes and new features.
|
|
|
25ad42 |
- New thin_show_duplicates command.
|
|
|
25ad42 |
- Add '--skip-mappings' and '--format custom' options to thin_dump.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Fri Jul 22 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.3-1
|
|
|
25ad42 |
- Fix regression in thin_repair and thin_restore so it works again
|
|
|
25ad42 |
when using device as output.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Thu Jul 21 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-2
|
|
|
25ad42 |
- Improve documentation and messages on output file preallocation
|
|
|
25ad42 |
when using thin_repair and thin_restore.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Mon Jul 11 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-1
|
|
|
25ad42 |
- Fixes providing proper use of compiler flags.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Wed May 04 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc8
|
|
|
25ad42 |
- Fixes for thin_trim and thin_repair.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Wed Mar 09 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc6
|
|
|
25ad42 |
- Add new fields to thin_ls: MAPPED_BYTES, EXCLUSIVE_BYTES and SHARED_BYTES.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Tue Mar 08 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc5
|
|
|
25ad42 |
- New thin_ls command.
|
|
|
25ad42 |
- era_invalidate may be run on live metadata if the --metadata-snap
|
|
|
25ad42 |
option is given.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Thu Aug 13 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.5-1
|
|
|
25ad42 |
- Support thin_delta's --metadata_snap option without specifying snap location.
|
|
|
25ad42 |
- Update man pages to make it clearer that tools shoulnd't be run on live metadata.
|
|
|
25ad42 |
- Fix bugs in the metadata reference counting for thin_check.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Fri Jul 17 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.4-1
|
|
|
25ad42 |
- Fix cache_check with --clear-needs-check-flag option to
|
|
|
25ad42 |
make sure metadata device is not open already by the tool
|
|
|
25ad42 |
when open with O_EXCL mode is requested.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Tue Jul 07 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.3-1
|
|
|
25ad42 |
- Tools now open the metadata device in O_EXCL mode to stop
|
|
|
25ad42 |
running the tools on active metadata.
|
|
|
25ad42 |
- Update to latest upstream release.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Fri Jul 03 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.2-1
|
|
|
25ad42 |
- Fix bug in damage reporting in thin_dump and thin_check.
|
|
|
25ad42 |
- Update to latest upstream release.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Thu Jun 25 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.1-1
|
|
|
25ad42 |
- Add space map checking for thin_check.
|
|
|
25ad42 |
- Add --clear-needs-check option for cache_check.
|
|
|
25ad42 |
- Update to latest upstream release.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Mon Jun 08 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.4.2-1
|
|
|
25ad42 |
- New thin_delta and thin_trim commands.
|
|
|
25ad42 |
- Update to latest upstream release.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Wed Nov 12 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.4.1-2
|
|
|
25ad42 |
- Resolves: #1083394
|
|
|
25ad42 |
- Resolves: #1085620
|
|
|
25ad42 |
- Fixes empty debuginfo packages
|
|
|
25ad42 |
|
|
|
25ad42 |
* Tue Oct 28 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.4.1-1
|
|
|
25ad42 |
- Resolves: #1083394
|
|
|
25ad42 |
- Resolves: #1085620
|
|
|
25ad42 |
|
|
|
25ad42 |
* Wed Apr 2 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.3.2-1
|
|
|
25ad42 |
- Resolves: #1081546
|
|
|
25ad42 |
|
|
|
25ad42 |
* Fri Mar 28 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.3.0-1
|
|
|
25ad42 |
- Resolves: #1081546
|
|
|
25ad42 |
|
|
|
25ad42 |
* Fri Feb 28 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.8-5
|
|
|
25ad42 |
- Resolves: #1057951
|
|
|
25ad42 |
|
|
|
25ad42 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.2.8-4
|
|
|
25ad42 |
- Mass rebuild 2014-01-24
|
|
|
25ad42 |
|
|
|
25ad42 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.2.8-3
|
|
|
25ad42 |
- Mass rebuild 2013-12-27
|
|
|
25ad42 |
|
|
|
25ad42 |
* Wed Oct 30 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.8-2
|
|
|
25ad42 |
- Resolves: #1022834
|
|
|
25ad42 |
|
|
|
25ad42 |
* Fri Oct 18 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.8-1
|
|
|
25ad42 |
- New upstream version 0.2.8 introducing cache_{check,dump,repair,restore}
|
|
|
25ad42 |
Resolves: #1020825
|
|
|
25ad42 |
|
|
|
25ad42 |
* Tue Sep 17 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.7-1
|
|
|
25ad42 |
- New upstream version 0.2.7
|
|
|
25ad42 |
Resolves: #966264
|
|
|
25ad42 |
|
|
|
25ad42 |
* Wed Jul 31 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.3-1
|
|
|
25ad42 |
- New upstream version
|
|
|
25ad42 |
|
|
|
25ad42 |
* Tue Jul 30 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.2-1
|
|
|
25ad42 |
- New upstream version with missing man pages, thin_metadata_size
|
|
|
25ad42 |
calculator and thin_dump metadata snapshot support.
|
|
|
25ad42 |
- Manual page header fixes
|
|
|
25ad42 |
|
|
|
25ad42 |
* Wed Jul 10 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-1
|
|
|
25ad42 |
- New upstream version.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Wed Jul 10 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.0-1
|
|
|
25ad42 |
- New upstream version.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-3
|
|
|
25ad42 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
25ad42 |
|
|
|
25ad42 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-2
|
|
|
25ad42 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
25ad42 |
|
|
|
25ad42 |
* Thu Apr 19 2012 Milan Broz <mbroz@redhat.com> - 0.1.4-1
|
|
|
25ad42 |
- Fix thin_check man page (add -q option).
|
|
|
25ad42 |
- Install utilities in /usr/sbin.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Tue Mar 13 2012 Milan Broz <mbroz@redhat.com> - 0.1.2-1
|
|
|
25ad42 |
- New upstream version.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Mon Mar 05 2012 Milan Broz <mbroz@redhat.com> - 0.1.1-1
|
|
|
25ad42 |
- Fix quiet option.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Fri Mar 02 2012 Milan Broz <mbroz@redhat.com> - 0.1.0-1
|
|
|
25ad42 |
- New upstream version.
|
|
|
25ad42 |
|
|
|
25ad42 |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-3
|
|
|
25ad42 |
- Rebuilt for c++ ABI breakage
|
|
|
25ad42 |
|
|
|
25ad42 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-2
|
|
|
25ad42 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
25ad42 |
|
|
|
25ad42 |
* Wed Dec 21 2011 Milan Broz <mbroz@redhat.com> - 0.0.1-1
|
|
|
25ad42 |
- Initial version
|