Bug 27806 - xfsprogs update to 5.10.0 for kernel 5.10
Summary: xfsprogs update to 5.10.0 for kernel 5.10
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2020-12-12 22:06 CET by David Walser
Modified: 2020-12-20 15:44 CET (History)
3 users (show)

See Also:
Source RPM: xfsprogs-5.9.0-1.mga7.src.rpm
CVE:
Status comment:


Attachments
xf_unmount_testing.log errors (5.79 KB, text/plain)
2020-12-17 10:36 CET, Aurelien Oudelet
Details

Description David Walser 2020-12-12 22:06:22 CET
Advisory:
----------------------------------------

The xfsprogs package has been updated to version 5.10.0, with full support for
the 5.10 series Linux kernels, bug fixes, and other enhancements.  See the
upstream CHANGES file for details.

References:
https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/tree/doc/CHANGES?id=25d27711a3c2e13eb63dc51ed346f536a6d9c690
----------------------------------------

Updated packages in core/updates_testing:
----------------------------------------
libinih0-52-1.mga7
libinih-devel-52-1.mga7
xfsprogs-5.10.0-1.mga7
libxfs1-5.10.0-1.mga7
libxfs-devel-5.10.0-1.mga7
libxfs-static-devel-5.10.0-1.mga7

from SRPMS:
inih-52-1.mga7.src.rpm
xfsprogs-5.10.0-1.mga7.src.rpm
David Walser 2020-12-12 22:06:37 CET

CC: (none) => smelror

Comment 1 Aurelien Oudelet 2020-12-17 10:34:53 CET
M7.1 Plasma x86_64
Updated packages. Using testing in Bug 27456.

# mkfs.xfs -f /dev/sdb1
meta-data=/dev/sdb               isize=512    agcount=4, agsize=967680 blks
         =                       sectsz=512   attr=2, projid32bit=1
         =                       crc=1        finobt=1, sparse=1, rmapbt=0
         =                       reflink=1    bigtime=0
data     =                       bsize=4096   blocks=3870720, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0, ftype=1
log      =internal log           bsize=4096   blocks=2560, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

Mounting it using Plasma Device Notifier.

kernel: XFS (sdb): Mounting V5 Filesystem
kernel: XFS (sdb1): Ending clean mount
udisksd[946]: Mounted /dev/sdb1 at /run/media/aurelien/957dad72-d7a1-44e7-8383-e4f03a40f1f7 on behalf of uid 1000
kernel: xfs filesystem being mounted at /run/media/aurelien/957dad72-d7a1-44e7-8383-e4f03a40f1f7 supports timestamps until 2038 (0x7fffffff)
udisksd[946]: udisks_state_check_mounted_fs_entry: block device /dev/sdb is busy, skipping cleanup
systemd[2092]: Started kde-open5.
systemd[2092]: Started Dolphin - Gestionnaire de fichiers

NOTE AGAIN THIS:
déc. 17 09:43:07 mageia.local kernel: xfs filesystem being mounted at /run/media/aurelien/957dad72-d7a1-44e7-8383-e4f03a40f1f7 supports timestamps until 2038 (0x7fffffff)

So, default options here runs well.

Again, this tested in Cauldron for 5.10 functionalities:
# mkfs.xfs -f -m bigtime=1 /dev/sdb1
meta-data=/dev/sdb1              isize=512    agcount=4, agsize=967615 blks
         =                       sectsz=512   attr=2, projid32bit=1
         =                       crc=1        finobt=1, sparse=1, rmapbt=0
         =                       reflink=1    bigtime=1
data     =                       bsize=4096   blocks=3870459, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0, ftype=1
log      =internal log           bsize=4096   blocks=2560, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

Mounting it using Plasma Device Notifier.

kernel: XFS (sdb1): EXPERIMENTAL big timestamp feature in use. Use at your own risk!
kernel: XFS (sdb1): Mounting V5 Filesystem
kernel: XFS (sdb1): Ending clean mount
udisksd[946]: Mounted /dev/sdb1 at /run/media/aurelien/d6152020-16b2-4ae5-9283-1387d31df901 on behalf of uid 1000
udisksd[946]: udisks_state_check_mounted_fs_entry: block device /dev/sdb1 is busy, skipping cleanup
systemd[2092]: Started kde-open5.
systemd[2092]: Started Dolphin - Gestionnaire de fichiers.

Creating files, directories = OK
Deleting files = OK.

# mount | grep sdb
/dev/sdb1 on /run/media/aurelien/d6152020-16b2-4ae5-9283-1387d31df901 type xfs (rw,nosuid,nodev,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota,uhelper=udisks2)

# xfs_bmap /run/media/aurelien/d6152020-16b2-4ae5-9283-1387d31df901/
/run/media/aurelien/d6152020-16b2-4ae5-9283-1387d31df901/: no extents

# xfs_info /run/media/aurelien/d6152020-16b2-4ae5-9283-1387d31df901/
meta-data=/dev/sdb1              isize=512    agcount=4, agsize=967615 blks
         =                       sectsz=512   attr=2, projid32bit=1
         =                       crc=1        finobt=1, sparse=1, rmapbt=0
         =                       reflink=1    bigtime=1
data     =                       bsize=4096   blocks=3870459, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0, ftype=1
log      =internal log           bsize=4096   blocks=2560, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

# xfs_estimate /run/media/aurelien/d6152020-16b2-4ae5-9283-1387d31df901/
/run/media/aurelien/d6152020-16b2-4ae5-9283-1387d31df901/ will take about 4,4 megabytes

Unmouting /dev/sdb1.

# xfs_repair /dev/sdb1
Phase 1 - find and verify superblock...
Phase 2 - using internal log
        - zero log...
        - scan filesystem freespace and inode maps...
        - found root inode chunk
Phase 3 - for each AG...
        - scan and clear agi unlinked lists...
        - process known inodes and perform inode discovery...
        - agno = 0
        - agno = 1
        - agno = 2
        - agno = 3
        - process newly discovered inodes...
Phase 4 - check for duplicate blocks...
        - setting up duplicate extent list...
        - check for inodes claiming duplicate blocks...
        - agno = 0
        - agno = 2
        - agno = 1
        - agno = 3
Phase 5 - rebuild AG headers and trees...
        - reset superblock...
Phase 6 - check inode connectivity...
        - resetting contents of realtime bitmap and summary inodes
        - traversing filesystem ...
        - traversal finished ...
        - moving disconnected inodes to lost+found ...
Phase 7 - verify and correct link counts...
done

But, I do see some strange errors when unmounting this stick.
See attached log.

Giving OK as I don't see files deleting, or wrong sync.
Also, my Cauldron has a /home with XFS and nothing wrong on it.

Whiteboard: (none) => MGA7-64-OK
CC: (none) => ouaurelien

Comment 2 Aurelien Oudelet 2020-12-17 10:36:23 CET
Created attachment 12096 [details]
xf_unmount_testing.log errors

I really don't know if these errors are bad or "normal" as this volume is already unmounted and device "excluded".
Comment 3 Aurelien Oudelet 2020-12-19 16:35:29 CET
(In reply to Aurelien Oudelet from comment #2)
> Created attachment 12096 [details]
> xf_unmount_testing.log errors
> 
> I really don't know if these errors are bad or "normal" as this volume is
> already unmounted and device "excluded".

Reported
https://bugs.mageia.org/show_bug.cgi?id=27877


Validating meanwhile the xfsprogs part.
Advisory pushed to SVN.
Aurelien Oudelet 2020-12-19 16:38:40 CET

Keywords: (none) => advisory, validated_update
CC: (none) => sysadmin-bugs

Comment 4 Mageia Robot 2020-12-20 15:44:34 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2020-0247.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.