public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ext3 journal commit performance
@ 2005-03-02 16:58 Muthian Sivathanu
  2005-03-02 17:41 ` linux-os
  2005-03-02 17:58 ` Andrew Morton
  0 siblings, 2 replies; 5+ messages in thread
From: Muthian Sivathanu @ 2005-03-02 16:58 UTC (permalink / raw)
  To: linux-kernel

Hi,

I have a question on ext3 journal commit code.  When a
transaction is committed in the ordered mode, ext3
first issues the data writes, waits for them to
finish, then issues the journal writes, waits for them
to finish, and then writes out the commit record. 

It appears that the first wait (for the data blocks)
is unnecessary because all that is required is that
before the commit, both the data and the metadata
blocks should be on disk.  This extra wait can
potentially reduce performance in cases where the
journal is on a separate disk, because you lose
parallelism between data writes and the metadata
writes.

Does anyone have an idea as to why this extra wait was
introduced?

thanks very much,
Muthian 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

end of thread, other threads:[~2005-03-02 21:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-02 16:58 ext3 journal commit performance Muthian Sivathanu
2005-03-02 17:41 ` linux-os
2005-03-02 17:46   ` Muthian Sivathanu
2005-03-02 17:58 ` Andrew Morton
2005-03-02 21:29   ` Andrew Morton

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