[lkml]   [2001]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Filling holes in ext2
Andrew Morton wrote:
> Ah. Now I'm with you. Yes, we need a better cleanup facility
> to handle this.
> We can sort-of fudge it with commit_write():
> Which is OK for mid-file blocks, but will cause i_size to be extended
> at eof, which probably isn't too bad. Needs more thought.

That certainly stops it happening. Does anybody think that extending
i_size in this particular corner case is harmful?

As Alan said, the bug is the file system committing metadata too early,
and I suspect that ext2 is not the only culprit.

Adrian Cox

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:58    [W:0.050 / U:0.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site