Description of problem:
Ext4 warnings are printed when a file size on indirect block map is extended to the maximum file size.
Steps to Reproduce:
1. Create a Ext4FS removing the extent flag:
mkfs.ext4 -O ^extent <device>
2. After mount the FS, run:
dd if=/dev/zero of=<ext4_mountpoint> bs=1 count=0 seek=4402345721856
3. tail /var/log/messages
kernel: EXT4-fs warning (device dm-4): ext4_block_to_path: block 1074791436 > max in inode 12
A Ext4 warning about the file size is showed
Don't show the warning message.
A patch was already proposed:
The patch is also attached to the BZ
Created attachment 481938 [details]
Patch proposed to this fix
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update release.
Patch(es) available on kernel-2.6.32-150.el6
Reproduced in 2.6.32-130.el6.x86_64 and verified in 2.6.32-154.el6.x86_64.
Would you please verify this with 160.el6 or newer kernel, if possible?
>>Would you please verify this with 160.el6 or newer kernel, if possible?
I confirmed this problem is fixed with 206.el6.
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.