Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2142910

Summary: Rebase to upstream release 5.19 but exclude the 300m minimum size limit
Product: Red Hat Enterprise Linux 9 Reporter: Pavel Reichl <preichl>
Component: xfsprogsAssignee: Pavel Reichl <preichl>
Status: CLOSED ERRATA QA Contact: Zorro Lang <zlang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.1CC: bugproxy, esandeen, hshiina, preichl, xzhou, zlang
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: xfsprogs-5.19.0-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-07 08:52:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2002451, 2117403    

Description Pavel Reichl 2022-11-15 13:21:05 UTC
Update to the 5.19 release to fix number of bugs but do not back port the lower limit 
of size (300 MB) in mkfs.

Comment 8 Pavel Reichl 2023-03-02 12:58:13 UTC
Eric, since this bug was moved to RHEL 9.3, should we consider updating to more recent upstream version, e.g. 6.1.1?

I reached to Carlos, who is the upstream maintainer, he is not aware of any risky or problematic changes in 6.1 resp. 6.1.1 but still advocates for caution - so sticking with 5.19.

What do you think?

Comment 16 Pavel Reichl 2023-04-21 14:10:27 UTC
*** Bug 2086896 has been marked as a duplicate of this bug. ***

Comment 17 Pavel Reichl 2023-04-21 14:12:06 UTC
*** Bug 2122440 has been marked as a duplicate of this bug. ***

Comment 18 Pavel Reichl 2023-04-21 14:12:30 UTC
*** Bug 2122439 has been marked as a duplicate of this bug. ***

Comment 19 Pavel Reichl 2023-04-21 14:13:03 UTC
*** Bug 2122437 has been marked as a duplicate of this bug. ***

Comment 20 Pavel Reichl 2023-04-21 14:39:17 UTC
*** Bug 2162202 has been marked as a duplicate of this bug. ***

Comment 21 Pavel Reichl 2023-04-21 14:42:30 UTC
*** Bug 2160744 has been marked as a duplicate of this bug. ***

Comment 22 IBM Bug Proxy 2023-04-21 14:46:32 UTC
------- Comment From Pavithra.Visweswara 2023-01-30 05:40 EDT-------
Is there any progress on this issue or thoughts on what the next step(s) need to be?

------- Comment From sarahw.com 2023-02-27 17:49 EDT-------
Adding some background information I got from Manu:

1)Are the test cases new?  (Why are we finding this now?)

4k/64k block size  enablement was a new feature in community last year. which has made it into respective Distros.  Accordingly there has been effort to extend community based xfstests tests to test them.  Hence all these issues.

2)The summary lines call out the Everest platform.  Are these problems specific to Everest hardware?

Nope since it is filesystem related, it should be generic across platform.  We use the system tag to call out what config we have used.

And an update from Ritesh:

All of the bugzillas mentioned below are tested against new test cases which are recently added to xfstests suite (in second half of 2022). xfstests suite also gives hints of the patches/fixes which might be missing in kernel or fs tools, which might fix the reported problem. (Many of the tests are explicitly written to make sure these fixes/patches are pulled in various releases).
These failures were reported to RH as part of bz-201001. RH via comment in 201001#c7 has asked us to file separate bugs for various categories/group of tests. Hence these 4 new bugs for different category/group of failures reported via xfstests suite.
Bug 201170
Bug 201169
Bug 201275
Bug 201276

Comment 23 Zorro Lang 2023-04-28 18:13:00 UTC
Regression test passed on xfsprogs-5.19.0-1.el9, didn't find regression from it.

There're 6 bugs DUP closed on this bug too, verify them as below:
1) xfs/543 test passed for bz2086896

FSTYP         -- xfs (non-debug)
PLATFORM      -- Linux/x86_64 dell-per750-08 5.14.0-303.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Apr 23 05:28:18 EDT 2023
MKFS_OPTIONS  -- -f -m crc=1,finobt=1,reflink=1,rmapbt=0,bigtime=1,inobtcount=1 /dev/sda3
MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/sda3 /mnt/xfstests/scratch

xfs/543        1s
Ran: xfs/543
Passed all 1 tests

2) xfs/191 test passed for bz2122437 and bz2162202 (it's not a P10 related bug, although it's reported on P10):

FSTYP         -- xfs (non-debug)
PLATFORM      -- Linux/x86_64 dell-per750-08 5.14.0-303.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Apr 23 05:28:18 EDT 2023
MKFS_OPTIONS  -- -f -m crc=1,finobt=1,reflink=1,rmapbt=0,bigtime=1,inobtcount=1 /dev/sda3
MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/sda3 /mnt/xfstests/scratch

xfs/191        1s
Ran: xfs/191
Passed all 1 tests

3) xfs/549 test passed for bz2122439 and bz2160744 (64k block size)

FSTYP         -- xfs (non-debug)
PLATFORM      -- Linux/x86_64 dell-per750-08 5.14.0-303.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Apr 23 05:28:18 EDT 2023
MKFS_OPTIONS  -- -f -m crc=1,finobt=1,reflink=1,rmapbt=0,bigtime=1,inobtcount=1 /dev/sda3
MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/sda3 /mnt/xfstests/scratch

xfs/549        1s
Ran: xfs/549
Passed all 1 tests

FSTYP         -- xfs (non-debug)
PLATFORM      -- Linux/ppc64le ibm-p9z-07-lp5 5.14.0-303.el9.ppc64le #1 SMP Sun Apr 23 14:01:05 EDT 2023
MKFS_OPTIONS  -- -f -b size=65536 /dev/sda3
MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/sda3 /mnt/xfstests/scratch

xfs/549 1s ...  1s
Ran: xfs/549
Passed all 1 tests

4) xfs/082 test passed for bz2122440

FSTYP         -- xfs (non-debug)
PLATFORM      -- Linux/x86_64 dell-per750-08 5.14.0-303.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Apr 23 05:28:18 EDT 2023
MKFS_OPTIONS  -- -f -m crc=1,finobt=1,reflink=1,rmapbt=0,bigtime=1,inobtcount=1 /dev/sda3
MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/sda3 /mnt/xfstests/scratch

xfs/082        1s
Ran: xfs/082
Passed all 1 tests

Comment 27 IBM Bug Proxy 2023-05-02 06:50:55 UTC
------- Comment From Disha.Goel 2023-05-02 02:48 EDT-------
(In reply to comment #12)
> Regression test passed on xfsprogs-5.19.0-1.el9, didn't find regression from
> it.
>
> There're 6 bugs DUP closed on this bug too, verify them as below:

Tested on RHEL 9.3 with xfsprogs version 5.19.0, xfs/191 test passed.

[root@]# ./check xfs/191
SECTION       -- xfs_4k
RECREATING    -- xfs on /dev/loop0
PLATFORM      -- Linux/ppc64le xxx 5.14.0-305.el9.ppc64le #1 SMP Thu Apr 27 09:11:51 EDT 2023
MKFS_OPTIONS  -- -f -f -bsize=4096 /dev/loop1
MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/loop1 /mnt/scratch

SECTION       -- xfs_64k
RECREATING    -- xfs on /dev/loop0
PLATFORM      -- Linux/ppc64le xxx 5.14.0-305.el9.ppc64le #1 SMP Thu Apr 27 09:11:51 EDT 2023
MKFS_OPTIONS  -- -f -f -bsize=65536 /dev/loop1
MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/loop1 /mnt/scratch

xfs/191 1s ...  1s
Ran: xfs/191

SECTION       -- xfs_4k
=========================
Ran: xfs/191

SECTION       -- xfs_64k
=========================
Ran: xfs/191

Comment 36 errata-xmlrpc 2023-11-07 08:52:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (xfsprogs bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:6618