Mingming Cao <[email protected]> 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [Ext2-devel] [RFC] Adding multiple block allocation
- From: Mingming Cao <[email protected]>
- Re: [Ext2-devel] [RFC] Adding multiple block allocation
- References:
- Re: ext3 allocate-with-reservation latencies
- From: "Stephen C. Tweedie" <[email protected]>
- Re: ext3 allocate-with-reservation latencies
- From: Mingming Cao <[email protected]>
- Re: ext3 allocate-with-reservation latencies
- From: "Stephen C. Tweedie" <[email protected]>
- Re: ext3 allocate-with-reservation latencies
- From: Mingming Cao <[email protected]>
- Re: ext3 allocate-with-reservation latencies
- From: "Stephen C. Tweedie" <[email protected]>
- Re: ext3 allocate-with-reservation latencies
- From: Mingming Cao <[email protected]>
- Re: ext3 allocate-with-reservation latencies
- From: "Stephen C. Tweedie" <[email protected]>
- [RFC][PATCH] Reduce ext3 allocate-with-reservation lock latencies
- From: Mingming Cao <[email protected]>
- Re: [RFC][PATCH] Reduce ext3 allocate-with-reservation lock latencies
- From: Lee Revell <[email protected]>
- [RFC] Adding multiple block allocation to current ext3
- From: Mingming Cao <[email protected]>
- Re: [Ext2-devel] [RFC] Adding multiple block allocation
- From: Suparna Bhattacharya <[email protected]>
- Re: [Ext2-devel] [RFC] Adding multiple block allocation
- From: Mingming Cao <[email protected]>
- Re: [Ext2-devel] [RFC] Adding multiple block allocation
- From: Mingming Cao <[email protected]>
- Re: ext3 allocate-with-reservation latencies
- Prev by Date: Re: which ioctls matter across filesystems
- Next by Date: Re: which ioctls matter across filesystems
- Previous by thread: Re: [Ext2-devel] [RFC] Adding multiple block allocation
- Next by thread: Re: [Ext2-devel] [RFC] Adding multiple block allocation
- Index(es):