public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] speed up ext3 synchronous mounts
@ 2002-03-24 21:50 Andrew Morton
  2002-03-25 23:01 ` [Ext2-devel] " Stephen C. Tweedie
  2002-03-27 19:07 ` Matthias Andree
  0 siblings, 2 replies; 5+ messages in thread
From: Andrew Morton @ 2002-03-24 21:50 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: lkml, ext2-devel


Again, we don't need to sync indirects as we dirty them because
we run a commit if IS_SYNC(inode) prior to returning to the
caller of write(2).

Writing a 10 meg file in 0.1 meg chunks is sped up by, err,
a factor of fifty.  That's a best case.

--- linux-2.4.18-pre8/fs/ext3/inode.c	Tue Feb  5 00:33:05 2002
+++ linux-akpm/fs/ext3/inode.c	Wed Feb  6 23:40:48 2002
@@ -581,8 +581,6 @@ static int ext3_alloc_branch(handle_t *h
 			
 			parent = nr;
 		}
-		if (IS_SYNC(inode))
-			handle->h_sync = 1;
 	}
 	if (n == num)
 		return 0;


-

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-03-27 19:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-24 21:50 [patch] speed up ext3 synchronous mounts Andrew Morton
2002-03-25 23:01 ` [Ext2-devel] " Stephen C. Tweedie
2002-03-27 19:07 ` Matthias Andree
2002-03-27 19:13   ` Ed Sweetman
2002-03-27 19:17   ` Andreas Dilger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox