Bug 907819

Summary: gfs2: inode size is always block size aligned on fallocate
Product: [Fedora] Fedora Reporter: Lukáš Czerner <lczerner>
Component: kernelAssignee: Andrew Price <anprice>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: medium    
Version: rawhideCC: gansalmon, gfs2-maint, itamar, jonathan, kernel-maint, madhu.chinakonda, swhiteho
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-20 12:44:01 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:
Attachments:
Description Flags
075.out.bad
none
075.0.bad
none
075.0.fsxgood
none
075.0.fsxlog
none
075.0.full
none
075.0.good none

Description Lukáš Czerner 2013-02-05 10:55:41 UTC
Created attachment 693312 [details]
075.out.bad

When running upstream version of xfstests 

git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git

on upstream kernel 3.8.0-rc6 x86_64 with the following xfstests configuration:

export TEST_DEV=/dev/sda
export TEST_DIR=/mnt/test
export SCRATCH_DEV=/dev/sdb
export SCRATCH_MNT=/mnt/test1
export MKFS_OPTIONS="-O -p lock_nolock -b4096"
export FSTYP=gfs2

=====================
FSTYP         -- gfs2
PLATFORM      -- Linux/x86_64 rhel6_vm1 3.8.0-rc6+
MKFS_OPTIONS  -- -O -p lock_nolock -b4096 /dev/sdb
MOUNT_OPTIONS -- -o acl /dev/sdb /mnt/test1
=====================

Test # 075 fails:

QA output created by 075
brevity is wit...

-----------------------------------------------
fsx.0 : -d -N numops -S 0
-----------------------------------------------
    fsx (-d -N 1000 -S 0) failed, 0 - compare 075.0.{good,bad,fsxlog}

Comment 1 Lukáš Czerner 2013-02-05 10:56:59 UTC
Created attachment 693313 [details]
075.0.bad

Comment 2 Lukáš Czerner 2013-02-05 10:57:26 UTC
Created attachment 693314 [details]
075.0.fsxgood

Comment 3 Lukáš Czerner 2013-02-05 10:57:45 UTC
Created attachment 693315 [details]
075.0.fsxlog

Comment 4 Lukáš Czerner 2013-02-05 10:58:04 UTC
Created attachment 693316 [details]
075.0.full

Comment 5 Lukáš Czerner 2013-02-05 10:58:27 UTC
Created attachment 693317 [details]
075.0.good

Comment 6 Fedora End Of Life 2013-04-03 18:22:47 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 7 Josh Boyer 2013-09-18 20:30:45 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 19 kernel bugs.

Fedora 19 has now been rebased to 3.11.1-200.fc19.  Please test this kernel update and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you experience different issues, please open a new bug report for those.

Comment 8 Justin M. Forbes 2014-01-03 22:07:43 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 19 kernel bugs.

Fedora 19 has now been rebased to 3.12.6-200.fc19.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 20, and are still experiencing this issue, please change the version to Fedora 20.

If you experience different issues, please open a new bug report for those.

Comment 9 Andrew Price 2014-11-05 08:58:11 UTC
22 falloc	from 0xb0e0 to 0x168a7 (0xb7c7 bytes)
Size error: expected 0x168a7 stat 0x17000 seek 0x17000

Comment 10 Andrew Price 2014-11-21 16:14:08 UTC
With the recent fallocate patches which were added to the gfs2-nmw tree, generic/075 passes. I'll leave this in POST until they reach rawhide.

Comment 11 Andrew Price 2014-11-21 16:54:50 UTC
*** Bug 907826 has been marked as a duplicate of this bug. ***

Comment 12 Andrew Price 2015-01-20 12:44:01 UTC
The patches were merged in the 3.19 merge window and rawhide is now at 3.19-rc5