mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [EXT3/JBD] Periodic journal flush not enough?
@ 2004-03-26 23:19 Herbert Xu
  2004-03-26 23:48 ` Andrew Morton
  2004-03-26 23:55 ` Andreas Dilger
  0 siblings, 2 replies; 7+ messages in thread
From: Herbert Xu @ 2004-03-26 23:19 UTC (permalink / raw)
  To: Andrew Morton, Linux Kernel Mailing List

Hi:

I've encountered a problem with the journal flush timer.  The problem
is that when a filesystem is short on space, relying on a timer-based
flushing mechanism is no longer adequate.  For example, on my P4 2GHz
I can trigger an ENOSPC error by doing

while :; do echo test > a; [ -s a ] || break; rm a; done; echo Out of space

on an ext3 file system with 12Mb of free space using the usual 5s
journal flush timer.

Of course, when you extend the flushing period as you do with laptop-mode,
this problem becomes a lot worse.

So would it be possible to have the flushing activated on demand?

Thanks,
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

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

end of thread, other threads:[~2004-03-29 20:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-26 23:19 [EXT3/JBD] Periodic journal flush not enough? Herbert Xu
2004-03-26 23:48 ` Andrew Morton
2004-03-27  0:01   ` Herbert Xu
2004-03-29 18:56   ` Stephen C. Tweedie
2004-03-29 19:16     ` Chris Mason
2004-03-26 23:55 ` Andreas Dilger
2004-03-29 20:03   ` Stephen C. Tweedie

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

all inboxes | Powered by JetHome®