1b8dede0f3ddbfc8324d650bf1f4fd74b parent 9f0ccfd8e07d61b413e6536ffa02fbf60d2e20d8 author Mingming Cao 1254167348 -0400 committer Theodore Ts'o 1254167348 -0400 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" 9ø