On Thu, Feb 03, 2005 at 07:51:37AM -0800, Badari Pulavarty wrote: > On Wed, 2005-02-02 at 12:19, Sonny Rao wrote: > > On Wed, Feb 02, 2005 at 07:32:04AM -0800, Badari Pulavarty wrote: > > > Hi, > > > > > > I forgot the reason why we don't have ext3_writepages() ? > > > I can dig through to find out, but it would be easy to ask > > > people. > > > > > > Please let me know. > > > > Badari, I seem to have successfully hacked the writeback mode to use > > writepages on a User-Mode Linux instance. I'm going to try it on a > > real box soon. The only issue is that pdflush is passing the create > > parameter as 1 to writepages, which doesn't exactly make sense. I > > suppose it might be needed for a filesystem like XFS which does > > delayed block allocation ? In ext3 however, the blocks should have > > been allocated beforehand. > > Funny, I am also hacking writepages for writeback mode. You are a step > ahead of me :) Please let me know, how it goes.
Well, from what I can tell, my patch doesn't seem to make much of a difference in write throughput other than allowing multi-page bios to be sent down and cutting down on buffer_head usage. If the only goal was to reduce buffer_head usage, then this works, but using an mpage_writepage-like function should achieve the same result. I did notice in my write throughput tests that ext2 still did significantly better for some reason, even though no meta-data changes were occurring. I'm looking into that. Sonny - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html