Mingming Cao 0031462b5b 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 <cmm@us.ibm.com> 
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-09-28 15:49:08 -04:00
..
2009-09-23 13:03:46 -05:00
2009-06-11 21:36:14 -04:00
2009-09-23 07:39:29 -07:00
2009-07-12 12:22:34 -07:00
2009-09-24 08:41:47 -04:00
2009-09-23 07:39:28 -07:00
2009-09-23 07:39:29 -07:00
2009-06-17 00:36:36 -04:00
2009-07-12 12:22:34 -07:00
2009-09-24 08:41:47 -04:00
2009-07-12 12:22:34 -07:00
2009-09-23 07:39:29 -07:00
2009-09-23 18:13:10 -07:00
2009-09-23 18:13:10 -07:00
2009-09-23 07:39:30 -07:00
2009-09-24 08:41:47 -04:00
2009-06-17 00:36:37 -04:00
2009-06-18 13:03:46 -07:00
2009-09-24 08:41:47 -04:00
2009-09-24 07:21:01 -07:00
2009-09-24 07:21:03 -07:00
2009-06-18 13:03:41 -07:00
2009-09-24 07:21:01 -07:00
2009-03-31 23:00:26 -04:00
2009-09-24 07:47:27 -04:00
2009-09-22 07:17:41 -07:00
2009-04-07 08:31:16 -07:00
2009-04-20 23:02:52 -04:00
2009-09-23 07:39:29 -07:00
2009-02-18 15:37:53 -08:00