Re: [Ext2-devel] [RFC] Adding multiple block allocation
From: Andrew Morton
Date: Fri Apr 29 2005 - 16:07:12 EST
Mingming Cao <cmm@xxxxxxxxxx> wrote:
> If we do direct write(block allocation) to a hole, I found that the
> "create" flag passed to ext3_direct_io_get_blocks() is 0 if we are
> trying to _write_ to a file hole. Is this expected?
Nope. The code in get_more_blocks() is pretty explicit.
> But if it try to allocating blocks in the hole (with direct IO), blocks
> are allocated one by one. I am looking at it right now.
Please see the comment over get_more_blocks().
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/