Messages in this thread | | | Date | Sat, 30 Apr 2005 21:40:43 +0530 | From | Suparna Bhattacharya <> | Subject | Re: [Ext2-devel] [RFC] Adding multiple block allocation |
| |
On Fri, Apr 29, 2005 at 04:22:59PM -0700, Mingming Cao wrote: > On Fri, 2005-04-29 at 11:45 -0700, Badari Pulavarty wrote: > > I touch tested your patch earlier and seems to work fine. Lets integrate > > Mingming's getblocks() patches with this and see if we get any benifit > > from the whole effort. > > > > I tried Suparna's mpage_writepages_getblocks patch with my > ext3_get_blocks patch, seems to work fine, except that still only one > block is allocated at a time. I got a little confused.... > > I did not see any delayed allocation code in your patch, I assume you > have to update ext3_prepare_write to not call ext3_get_block, so that > block allocation will be defered at ext3_writepages time. So without the > delayed allocation part, the get_blocks in mpage_writepages is doing > multiple blocks look up only, right?
That's right - so you could try it with mmapped writes (which don't go through a prepare write) or with Badari's patch to not call ext3_get_block in prepare write.
Regards Suparna > > > Mingming > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > Ext2-devel mailing list > Ext2-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ext2-devel
-- Suparna Bhattacharya (suparna@in.ibm.com) Linux Technology Center IBM Software Lab, India
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |