linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 15742] New: Fallocated extents handled incorrectly if beyond i_size
@ 2010-04-09 17:21 bugzilla-daemon
  2010-04-09 17:24 ` [Bug 15742] " bugzilla-daemon
  2010-07-06  7:16 ` bugzilla-daemon
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla-daemon @ 2010-04-09 17:21 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=15742

           Summary: Fallocated extents handled incorrectly if beyond
                    i_size
           Product: File System
           Version: 2.5
    Kernel Version: v2.6.25
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ext4
        AssignedTo: fs_ext4@kernel-bugs.osdl.org
        ReportedBy: dmonakhov@openvz.org
        Regression: No


bad commit: 3977c965ec35ce1a7eac988ad313f0fc9aee9660

Zerrout trick allow us to optimize cases where it is more reasonable
to explicitly zeroout extent and mark it as initialized instead of
splitting to several small ones.
But this optimization is not acceptable is extent is beyond i_size
Because it is not possible to have initialized blocks after i_size.
Fsck treat this as incorrect inode size.

#TESTCASE
mkfs.ext4 /dev/sdb1
mount /dev/sdb1 /mnt
./falloc_test /mnt/F1
umount /mnt
fsck.ext4 -f /dev/sdb1

fsck.ext4 -f /dev/sdb1
e2fsck 1.41.9 (22-Aug-2009)
Pass 1: Checking inodes, blocks, and sizes
Inode 12, i_size is 1, should be 40960.  Fix<y>? no

--- Comment #1 from Dmitry Monakhov <dmonakhov@openvz.org>  2010-04-09 17:20:56 ---
Created an attachment (id=25931)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=25931)
testcase

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 15742] Fallocated extents handled incorrectly if beyond i_size
  2010-04-09 17:21 [Bug 15742] New: Fallocated extents handled incorrectly if beyond i_size bugzilla-daemon
@ 2010-04-09 17:24 ` bugzilla-daemon
  2010-07-06  7:16 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2010-04-09 17:24 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=15742





--- Comment #2 from Dmitry Monakhov <dmonakhov@openvz.org>  2010-04-09 17:24:00 ---
Proposed patch:
http://patchwork.ozlabs.org/patch/49856/

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 15742] Fallocated extents handled incorrectly if beyond i_size
  2010-04-09 17:21 [Bug 15742] New: Fallocated extents handled incorrectly if beyond i_size bugzilla-daemon
  2010-04-09 17:24 ` [Bug 15742] " bugzilla-daemon
@ 2010-07-06  7:16 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2010-07-06  7:16 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=15742


Dmitry Monakhov <dmonakhov@openvz.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |CODE_FIX




-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-06  7:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-09 17:21 [Bug 15742] New: Fallocated extents handled incorrectly if beyond i_size bugzilla-daemon
2010-04-09 17:24 ` [Bug 15742] " bugzilla-daemon
2010-07-06  7:16 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).