2011/11/19 Ted Ts'o <tytso@xxxxxxx>: > On Fri, Nov 18, 2011 at 10:52:38AM +0800, Robin Dong wrote: >> From: Robin Dong <sanbai@xxxxxxxxxx> >> >> After: >> 1. mke2fs -O ^has_journal,^resize_inode,^uninit_bg,extent,meta_bg,flex_bg,bigalloc /dev/sda >> 2. mount -t ext4 /dev/sda /test/ >> 3. create file (8192K size, extent' e_len is 2) /test/1 ~ /test/10 >> 4. use tool to change the /test/5 extent's e_len to 100, corrupt file >> 5. e2fsck -f /dev/sda > > I can't replicate this. I presume it only shows up with your > modification to the bigalloc format? > > - Ted > Hi, Ted I am not using my modification bigalloc format. I use the upstream kernel (3.2-rc2) and uptodate e2fsprogs master branch code, the error report will emerge after my steps above. My /dev/sda is small (about 100G), so I guess: # create /test/1 ~ /test/100 (e_len == 2) # make /test/5 's e_len to 1024 may replicate this problem on larger disk. -- -- Best Regard Robin Dong -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html