mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Is ext3 flush data to disk when files are closed?
@ 2005-10-19 15:31 Xin Zhao
  2005-10-19 15:48 ` linux-os (Dick Johnson)
  2005-10-19 15:50 ` Badari Pulavarty
  0 siblings, 2 replies; 8+ messages in thread
From: Xin Zhao @ 2005-10-19 15:31 UTC (permalink / raw)
  To: linux-kernel

As far as I know, if an application modifies a file on an ext3 file
ssytem, it actually change the page cache, and the dirty pages will be
flushed to disk by kupdate periodically.

My question is: if a file is to be closed, but some of its data pages
are marked as dirty, will system block on close() and wait for dirty
pages being flushed to disk? If so, it seems to decrease performance
significantly if a lot of updates on many small files are involved.

Can someone point me to the right place to check how it works? Thanks!

Xin

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

end of thread, other threads:[~2005-10-21  4:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-19 15:31 Is ext3 flush data to disk when files are closed? Xin Zhao
2005-10-19 15:48 ` linux-os (Dick Johnson)
2005-10-21  4:12   ` Andy Isaacson
2005-10-19 15:50 ` Badari Pulavarty
2005-10-19 20:00   ` Andrew Morton
2005-10-19 21:11     ` Badari Pulavarty
2005-10-19 22:09       ` Andrew Morton
2005-10-19 22:16         ` Badari Pulavarty

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

Powered by JetHome