Kazuya Mio
f80da1e70f
ext4: Allow indirect-block file to grow the file size to max file size
...
We can create 4402345721856 byte file with indirect block mapping.
However, if we grow an indirect-block file to the size with ftruncate(),
we can see an ext4 warning. The following patch fixes this problem.
How to reproduce:
# dd if=/dev/zero of=/mnt/mp1/hoge bs=1 count=0 seek=4402345721856
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.000221428 s, 0.0 kB/s
# tail -n 1 /var/log/messages
Nov 25 15:10:27 test kernel: EXT4-fs warning (device sda8): ext4_block_to_path:345: block 1074791436 > max in inode 12
Signed-off-by: Kazuya Mio <k-mio@sx.jp.nec.com >
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu >
2011-04-10 22:06:36 -04:00
..
2011-03-23 19:47:13 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-02-25 11:12:37 -08:00
2011-03-24 14:54:35 -04:00
2011-03-10 08:52:07 +01:00
2011-03-24 10:16:26 -07:00
2011-03-28 15:31:05 -07:00
2011-01-24 10:49:45 +11:00
2011-03-29 07:50:34 -07:00
2011-03-10 08:52:07 +01:00
2011-03-25 17:45:16 -07:00
2011-01-16 21:22:29 +00:00
2011-02-18 08:07:18 -08:00
2011-03-22 17:44:17 -07:00
2011-03-10 13:22:34 -06:00
2011-03-28 01:49:43 -05:00
2011-03-10 08:52:07 +01:00
2011-03-24 10:16:26 -07:00
2011-03-15 02:21:44 -04:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-04-10 22:06:36 -04:00
2011-03-24 10:16:26 -07:00
2011-03-10 08:52:07 +01:00
2011-01-14 09:23:36 -08:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-22 17:44:02 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-04-05 19:16:20 -04:00
2011-03-25 17:41:20 +02:00
2011-03-24 10:16:26 -07:00
2011-01-25 15:24:47 -05:00
2011-03-24 19:01:30 -07:00
2011-03-24 10:16:26 -07:00
2011-03-17 14:02:57 +01:00
2011-03-29 07:50:34 -07:00
2011-03-22 20:03:52 -04:00
2011-03-24 08:20:39 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 21:17:51 -04:00
2011-03-24 19:01:30 -07:00
2011-03-28 13:03:31 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-27 19:09:29 -07:00
2011-03-22 16:01:49 -07:00
2011-03-10 08:52:07 +01:00
2011-03-24 21:16:32 -04:00
2011-03-24 10:16:26 -07:00
2011-03-22 23:01:26 +00:00
2011-01-20 17:02:05 -08:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-28 15:51:02 -07:00
2011-03-24 10:16:26 -07:00
2011-01-16 13:47:07 -05:00
2011-03-23 19:47:13 -07:00
2011-03-23 20:51:42 -07:00
2011-03-17 11:11:05 +01:00
2011-03-24 10:16:26 -07:00
2011-03-24 19:01:30 -07:00
2011-03-24 19:01:30 -07:00
2011-03-21 00:16:08 -04:00
2011-03-18 10:51:11 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 21:16:32 -04:00
2011-02-21 15:07:04 -08:00
2011-03-22 17:44:15 -07:00
2011-03-21 00:16:09 -04:00
2011-03-23 19:47:13 -07:00
2011-03-15 02:21:44 -04:00
2011-03-21 00:16:09 -04:00
2011-03-16 13:26:17 -07:00
2011-01-16 13:47:07 -05:00
2011-03-24 21:17:51 -04:00
2011-03-23 19:47:13 -07:00
2011-03-27 19:30:19 -07:00
2011-03-24 21:17:51 -04:00
2011-03-21 00:16:08 -04:00
2011-03-16 19:01:29 -07:00
2011-03-24 08:20:39 -07:00
2011-03-16 19:01:29 -07:00
2011-03-10 08:52:26 +01:00
2011-03-24 14:24:32 -04:00
2011-03-22 17:44:10 -07:00
2011-03-14 09:15:28 -04:00
2011-03-21 01:10:41 -04:00
2011-01-20 16:21:59 -08:00
2011-01-25 15:24:47 -05:00
2011-03-21 00:16:08 -04:00
2011-03-15 02:21:45 -04:00
2011-03-14 09:15:28 -04:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-23 19:47:13 -07:00
2011-03-23 19:47:13 -07:00