- Update from version 6.9.0 to 6.11.0 - Update of rootfile - The existing CONFIGURE_OPTIONS variable was empty so ./configure was run with a standard PREFIX=/usr but split /usr has been removed from the build so the default for all directories goes to being under /usr, including the library etc. - Added entries for prefix, libdir and localstatedir into the variable CONFIGURE_OPTIONS so that most files ended up in the same locxations as with previous versions. fsck.xfs, mkfs.xfs & xfs_repair end up in /usr/sbin the same as all the other xfs programs. A mv command addeed to move these three files into /sbin to match the previous versions. - Tested out this change in a vm system on my testbed. The xfs filesystem was created without any issues and I ended up with a normally working system. I also rebooted with fsck selected and the reboot occurred without any issues. No messages about problems in the logs, only messages about a successful clean xfs mount. So both fsck.xfs and mkfs.xfs seem to be working without any problems. - Changelog 6.11.0 Cleanups and bugfixes in mkfs/xfs_db/repair/scrub/mdrestore (Darrick J. Wong) Drop libattr dependency (Darrick J. Wong) Debian and Ubuntu archive changes (Bastian Germann) 6.10.1 fix C++ compilation errors in xfs_fs.h (Darrick J. Wong) 6.10.0 debian: enable xfs_scrub_all systemd timer services by default (Darrick J. Wong) mkfs: set autofsck filesystem property (Darrick J. Wong) xfs_scrub: use the autofsck fsproperty to select mode (Darrick J. Wong) xfs_scrub: allow sysadmin to control background scrubs (Darrick J. Wong) xfs_property: add a new tool to administer fs properties (Darrick J. Wong) xfs_db: add a command to list xattrs (Darrick J. Wong) xfs_db: improve getting and setting extended attributes (Darrick J. Wong) xfs_io: edit filesystem properties (Darrick J. Wong) xfs_scrub: defer phase5 file scans if dirloop fails (Darrick J. Wong) xfs_repair: wipe ondisk parent pointers when there are none (Darrick J. Wong) xfs_scrub: detect and repair directory tree corruptions (Darrick J. Wong) xfs_repair: update ondisk parent pointer records (Darrick J. Wong) xfs_spaceman: report directory tree corruption in the health information (Darrick J. Wong) xfsprogs: support vectored scrub (Darrick J. Wong) man: document vectored scrub mode (Darrick J. Wong) man2: update ioctl_xfs_scrub_metadata.2 for parent pointers (Darrick J. Wong) mkfs: enable formatting with parent pointers (Allison Henderson) mkfs: Add parent pointers during protofile creation (Allison Henderson) xfs_repair: check parent pointers (Darrick J. Wong) xfs_db: compute hashes of parent pointers (Darrick J. Wong) xfs_db: add link and unlink expert commands (Darrick J. Wong) xfs_repair: build a parent pointer index (Darrick J. Wong) xfs_db: add a parents command to list the parents of a file (Darrick J. Wong) xfs_db: obfuscate dirent and parent pointer names consistently (Darrick J. Wong) xfs_db: report parent pointers embedded in xattrs (Darrick J. Wong) xfs_db: report parent bit on xattrs (Darrick J. Wong) xfs_db: report parent pointers in version command (Darrick J. Wong) xfs_scrub: use parent pointers to report lost file data (Darrick J. Wong) xfs_scrub: use parent pointers when possible to report file operations (Darrick J. Wong) xfs_logprint: decode parent pointers in ATTRI items fully (Allison Henderson) xfs_io: Add i, n and f flags to parent command (Allison Henderson) xfs_io: adapt parent command to new parent pointer ioctls (Darrick J. Wong) libfrog: report parent pointers to userspace (Darrick J. Wong) libfrog: add parent pointer support code (Darrick J. Wong) man: document the XFS_IOC_GETPARENTS ioctl (Darrick J. Wong) xfs_logprint: dump new attr log item fields (Darrick J. Wong) xfs_scrub_all: failure reporting for the xfs_scrub_all job (Darrick J. Wong) xfs_repair: check free space requirements before allowing upgrades (Darrick J. Wong) xfs_scrub_all: convert systemctl calls to dbus (Darrick J. Wong) xfs_scrub_all: trigger automatic media scans once per month (Darrick J. Wong) xfs_scrub: add an optimization-only mode (Darrick J. Wong) xfs_scrub_all: add CLI option for easier debugging (Darrick J. Wong) xfs_scrub_all: enable periodic file data scrubs automatically (Darrick J. Wong) xfs_scrub: automatic downgrades to dry-run mode in service mode (Darrick J. Wong) xfs_scrub_all: support metadata+media scans of all filesystems (Darrick J. Wong) xfs_scrub_all: fail fast on masked units (Darrick J. Wong) xfs_scrub_all: remove journalctl background process (Darrick J. Wong) xfs_scrub_all: only use the xfs_scrub@ systemd services in service mode (Darrick J. Wong) xfs_scrub: tune fstrim minlen parameter based on free space histograms (Darrick J. Wong) xfs_scrub: improve responsiveness while trimming the filesystem (Darrick J. Wong) xfs_scrub: tighten up the security on the background systemd service (Darrick J. Wong) xfs_scrub: don't call FITRIM after runtime errors (Darrick J. Wong) xfs_scrub: use dynamic users when running as a systemd service (Darrick J. Wong) xfs_scrub: report FITRIM errors properly (Darrick J. Wong) xfs_scrub.service: reduce background CPU usage to less than one core if possible (Darrick J. Wong) xfs_scrub: don't close stdout when closing the progress bar (Darrick J. Wong) xfs_scrub: fix the work estimation for phase 8 (Darrick J. Wong) libfrog: print cdf of free space buckets (Darrick J. Wong) libfrog: print wider columns for free space histogram (Darrick J. Wong) xfs_scrub: ignore phase 8 if the user disabled fstrim (Darrick J. Wong) xfs_scrub: move FITRIM to phase 8 (Darrick J. Wong) xfs_scrub: improve thread scheduling repair items during phase 4 (Darrick J. Wong) xfs_scrub: avoid potential UAF after freeing a duplicate name entry (Darrick J. Wong) xfs_scrub: enable users to bump information messages to warnings (Darrick J. Wong) xfs_scrub: retry incomplete repairs (Darrick J. Wong) xfs_scrub: warn about difficult repairs to rt and quota metadata (Darrick J. Wong) xfs_scrub: any inconsistency in metadata should trigger difficulty warnings (Darrick J. Wong) mkfs: add a formatting option for exchange-range (Darrick J. Wong) xfs_repair: add exchange-range to file systems (Darrick J. Wong) xfs_scrub: fix missing scrub coverage for broken inodes (Darrick J. Wong) xfs_scrub: log when a repair was unnecessary (Darrick J. Wong) libfrog: advertise exchange-range support (Darrick J. Wong) xfs_io: create exchangerange command to test file range exchange ioctl (Darrick J. Wong) xfs_fsr: skip the xattr/forkoff levering with the newer swapext implementations (Darrick J. Wong) xfs_fsr: convert to bulkstat v5 ioctls (Darrick J. Wong) xfs_logprint: support dumping exchmaps log items (Darrick J. Wong) xfs_db: advertise exchange-range in the version command (Darrick J. Wong) libfrog: add support for exchange range ioctl family (Darrick J. Wong) libhandle: add support for bulkstat v5 (Darrick J. Wong) man: document XFS_FSOP_GEOM_FLAGS_EXCHRANGE (Darrick J. Wong) man: document the exchange-range ioctl (Darrick J. Wong) xfs_repair: don't crash on -vv (Darrick J. Wong) xfsprogs: Remove support for split-/usr installs (Chris Hofstaedtler) libxfs: kernel sync (Darrick J. Wong)
Tested-by: Adolf Belka adolf.belka@ipfire.org Signed-off-by: Adolf Belka adolf.belka@ipfire.org --- config/rootfiles/common/xfsprogs | 7 ++++++- lfs/xfsprogs | 14 +++++++++++--- 2 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/config/rootfiles/common/xfsprogs b/config/rootfiles/common/xfsprogs index c1c14c11b..741fac91d 100644 --- a/config/rootfiles/common/xfsprogs +++ b/config/rootfiles/common/xfsprogs @@ -17,7 +17,6 @@ sbin/xfs_repair #usr/include/xfs/xfs_log_format.h #usr/include/xfs/xfs_types.h #usr/include/xfs/xqm.h -#usr/lib/libhandle.a #usr/lib/libhandle.la #usr/lib/libhandle.so usr/sbin/xfs_admin @@ -35,6 +34,7 @@ usr/sbin/xfs_mdrestore usr/sbin/xfs_metadump usr/sbin/xfs_mkfile usr/sbin/xfs_ncheck +usr/sbin/xfs_property usr/sbin/xfs_quota usr/sbin/xfs_rtcp usr/sbin/xfs_scrub @@ -48,6 +48,7 @@ usr/sbin/xfs_spaceman #usr/share/locale/pl/LC_MESSAGES/xfsprogs.mo #usr/share/man/man2/ioctl_xfs_ag_geometry.2 #usr/share/man/man2/ioctl_xfs_bulkstat.2 +#usr/share/man/man2/ioctl_xfs_exchange_range.2 #usr/share/man/man2/ioctl_xfs_fsbulkstat.2 #usr/share/man/man2/ioctl_xfs_fscounts.2 #usr/share/man/man2/ioctl_xfs_fsgeometry.2 @@ -58,10 +59,12 @@ usr/sbin/xfs_spaceman #usr/share/man/man2/ioctl_xfs_getbmap.2 #usr/share/man/man2/ioctl_xfs_getbmapa.2 #usr/share/man/man2/ioctl_xfs_getbmapx.2 +#usr/share/man/man2/ioctl_xfs_getparents.2 #usr/share/man/man2/ioctl_xfs_getresblks.2 #usr/share/man/man2/ioctl_xfs_goingdown.2 #usr/share/man/man2/ioctl_xfs_inumbers.2 #usr/share/man/man2/ioctl_xfs_scrub_metadata.2 +#usr/share/man/man2/ioctl_xfs_scrubv_metadata.2 #usr/share/man/man2/ioctl_xfs_setresblks.2 #usr/share/man/man3/attr_list_by_handle.3 #usr/share/man/man3/attr_multi_by_handle.3 @@ -96,6 +99,7 @@ usr/sbin/xfs_spaceman #usr/share/man/man8/xfs_metadump.8 #usr/share/man/man8/xfs_mkfile.8 #usr/share/man/man8/xfs_ncheck.8 +#usr/share/man/man8/xfs_property.8 #usr/share/man/man8/xfs_quota.8 #usr/share/man/man8/xfs_repair.8 #usr/share/man/man8/xfs_rtcp.8 @@ -112,3 +116,4 @@ usr/sbin/xfs_spaceman #usr/share/xfsprogs/mkfs/lts_6.1.conf #usr/share/xfsprogs/mkfs/lts_6.6.conf #usr/share/xfsprogs/xfs_scrub_all.cron +var/lib/xfsprogs diff --git a/lfs/xfsprogs b/lfs/xfsprogs index 5094485d3..c99531b2f 100644 --- a/lfs/xfsprogs +++ b/lfs/xfsprogs @@ -24,7 +24,7 @@
include Config
-VER = 6.9.0 +VER = 6.11.0
THISAPP = xfsprogs-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -32,6 +32,12 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP)
+CONFIGURE_OPTIONS = \ + --prefix=/usr \ + --libdir=/lib \ + --localstatedir=/var \ + --disable-static + ############################################################################### # Top-level Rules ############################################################################### @@ -40,7 +46,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = d952603716cc4022a935c426630b0b7838573476a730c6832f36ef0274a640e64667d3e3a2dd9fd2c5f2c12cdb348fd93abfef5c49e5c5fe2d5a83945dfc7894 +$(DL_FILE)_BLAKE2 = 846b25ad36477d71f8f2091ad16699356416f09befbb4250335081d2a8fd78011e9100fbabfb727acdb65520a38c912d9bb9e33b17c222c97de88fd00ab004a9
install : $(TARGET)
@@ -79,7 +85,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && make install install-dev cd $(DIR_APP) && install -v -m755 -D libhandle/libhandle.la /usr/lib/libhandle.la chmod -v 755 /lib/libhandle.so* - rm -f /lib/libhandle.{a,la,so} + rm -f /lib/libhandle.{la,so} ln -svf ../../lib/libhandle.so.1 /usr/lib/libhandle.so + # Next command is so those programs are in the same location as in previous versions + mv /usr/sbin/{fsck.xfs,mkfs.xfs,xfs_repair} /sbin @rm -rf $(DIR_APP) @$(POSTBUILD)