From: Mingming Cao Date: Mon, 28 Sep 2009 19:49:08 +0000 (-0400) Subject: ext4: Split uninitialized extents for direct I/O X-Git-Tag: v2.6.32-rc3~60^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0031462b5b392f90d17f1d75abb795883c44e969;p=pandora-kernel.git ext4: Split uninitialized extents for direct I/O When writing into an unitialized extent via direct I/O, and the direct I/O doesn't exactly cover the unitialized extent, split the extent into uninitialized and initialized extents before submitting the I/O. This avoids needing to deal with an ENOSPC error in the end_io callback that gets used for direct I/O. When the IO is complete, the written extent will be marked as initialized. Singed-Off-By: Mingming Cao Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed