Aneesh Kumar K.V
2a8964d63d
ext4: Clear the unwritten buffer_head flag after the extent is initialized
...
The BH_Unwritten flag indicates that the buffer is allocated on disk
but has not been written; that is, the disk was part of a persistent
preallocation area. That flag should only be set when a get_blocks()
function is looking up a inode's logical to physical block mapping.
When ext4_get_blocks_wrap() is called with create=1, the uninitialized
extent is converted into an initialized one, so the BH_Unwritten flag
is no longer appropriate. Hence, we need to make sure the
BH_Unwritten is not left set, since the combination of BH_Mapped and
BH_Unwritten is not allowed; among other things, it will result ext4's
get_block() to be called over and over again during the write_begin
phase of write(2).
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-05-14 17:05:39 -04:00
..
2009-03-27 14:44:03 -04:00
2009-04-02 19:05:08 -07:00
2009-04-02 19:05:08 -07:00
2009-04-17 09:55:19 -07:00
2009-04-20 23:01:15 -04:00
2009-05-02 15:36:09 -07:00
2009-04-08 10:21:43 -07:00
2009-01-22 13:15:57 +03:00
2009-04-27 11:16:33 -07:00
2009-04-03 16:42:41 +01:00
2009-05-08 03:04:30 +00:00
2009-03-27 14:44:00 -04:00
2009-04-21 12:59:21 -07:00
2009-04-02 19:05:08 -07:00
2009-03-23 16:25:46 +01:00
2009-03-27 14:44:04 -04:00
2009-03-11 12:23:59 -05:00
2009-04-27 13:31:12 -05:00
2009-04-02 19:05:09 -07:00
2009-03-31 19:44:38 +03:00
2008-12-25 11:40:09 +11:00
2009-04-27 16:49:52 +02:00
2009-04-08 13:15:10 -04:00
2009-05-14 17:05:39 -04:00
2009-04-17 09:32:11 -07:00
2009-01-22 13:15:58 +03:00
2009-04-03 16:42:39 +01:00
2009-04-09 17:37:53 +02:00
2009-04-23 10:07:37 +01:00
2009-04-13 15:04:29 -07:00
2009-04-02 21:09:10 -07:00
2009-03-27 14:44:00 -04:00
2009-04-02 21:09:10 -07:00
2009-04-02 19:04:53 -07:00
2009-04-21 13:41:48 -07:00
2009-04-02 19:05:09 -07:00
2009-04-24 08:37:40 -07:00
2009-04-14 07:50:56 -04:00
2009-04-06 14:56:26 -07:00
2009-03-31 23:00:26 -04:00
2009-04-06 13:25:56 -07:00
2009-04-02 19:05:09 -07:00
2009-04-20 23:02:51 -04:00
2009-05-02 19:42:39 -07:00
2008-12-23 15:21:32 -05:00
2009-04-20 23:01:16 -04:00
2009-04-13 09:53:52 +09:00
2008-10-17 02:38:36 +11:00
2009-05-06 16:36:09 -07:00
2009-04-01 08:59:18 -07:00
2009-05-02 16:30:47 -07:00
2009-04-02 21:09:10 -07:00
2009-01-05 11:54:28 -05:00
2009-04-02 00:49:02 +02:00
2009-05-04 15:14:23 -07:00
2009-04-02 19:05:10 -07:00
2009-04-27 16:49:52 +02:00
2009-04-07 07:39:59 -07:00
2009-04-02 21:09:10 -07:00
2009-04-24 13:28:31 -07:00
2009-03-27 14:44:00 -04:00
2009-04-06 13:30:00 -07:00
2009-04-20 23:02:50 -04:00
2009-04-02 19:05:10 -07:00
2009-04-06 15:00:19 -07:00
2009-04-02 13:36:28 +02:00
2009-04-02 19:05:10 -07:00
2009-05-02 16:52:50 -07:00
2009-03-19 15:57:18 -07:00
2009-03-27 14:44:03 -04:00
2009-03-26 02:18:35 +01:00
2008-12-31 18:07:43 -05:00
2009-01-03 11:45:54 -08:00
2009-05-02 15:36:10 -07:00
2009-03-31 23:00:27 -04:00
2008-10-16 11:21:38 -07:00
2009-01-08 12:04:47 +00:00
2009-01-06 15:59:19 -08:00
2008-10-16 11:21:38 -07:00
2009-03-31 23:00:28 -04:00
2009-03-24 12:35:17 +01:00
2009-04-28 20:24:29 +02:00
2009-04-01 07:07:16 -04:00
2009-05-02 15:36:09 -07:00
2009-01-06 15:59:13 -08:00
2009-04-20 23:01:16 -04:00
2009-04-24 07:39:45 -07:00
2009-04-20 23:01:15 -04:00
2009-01-14 14:15:18 +01:00
2009-04-15 12:10:13 +02:00
2009-04-02 19:04:48 -07:00
2009-04-01 08:59:20 -07:00
2009-04-01 08:59:20 -07:00
2009-05-02 15:36:10 -07:00
2009-03-30 08:00:24 -06:00
2008-10-21 07:47:06 -04:00
2009-03-30 15:22:03 +02:00
2009-04-20 23:02:52 -04:00
2009-03-31 23:00:27 -04:00
2009-04-03 15:24:35 -07:00
2009-03-31 23:00:26 -04:00
2009-04-15 12:10:12 +02:00
2009-03-31 23:00:26 -04:00
2009-05-06 16:36:09 -07:00
2009-01-14 14:15:30 +01:00
2009-04-07 08:31:16 -07:00
2009-01-09 16:54:41 -08:00
2009-04-03 12:09:09 +02:00
2009-01-14 14:15:25 +01:00
2009-04-07 08:31:16 -07:00
2009-04-01 07:38:54 -04:00
2009-04-20 23:01:16 -04:00
2009-04-20 23:01:15 -04:00
2009-01-14 14:15:29 +01:00
2009-03-31 23:00:27 -04:00
2009-04-15 12:10:12 +02:00
2008-11-14 10:39:05 +11:00
2009-04-04 14:20:34 -07:00
2009-01-14 14:15:31 +01:00
2009-01-14 14:15:31 +01:00
2009-03-30 22:05:11 +10:30
2009-01-14 14:15:31 +01:00
2009-04-17 07:38:07 -07:00
2009-04-20 23:02:52 -04:00
2009-04-07 08:31:09 -07:00
2009-03-27 14:48:34 -07:00
2009-02-18 15:37:53 -08:00
2009-01-14 14:15:30 +01:00
2009-04-20 23:02:50 -04:00