On Feb 16, 2007 00:06 -0800, Andrew Morton wrote: > On Fri, 16 Feb 2007 10:56:55 +0300 Alex Tomas <alex@xxxxxxxxxxxxx> wrote: > > well, even so we need to reserve not that block ony, but > > also needed metadata (for the worst case). > > Right. Reserve all the blocks for the page and all the metadata for a page > at that file offset. Worst case. This only really becomes an issue when the filesystem (+reservations) is close to being full. If we are close enough to worry about running out of space we can also refuse to do delayed allocation. Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc. - 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