public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Stopping the GC thread?
@ 2003-06-11 16:03 Steven Scholz
  2003-06-11 16:07 ` David Woodhouse
  0 siblings, 1 reply; 11+ messages in thread
From: Steven Scholz @ 2003-06-11 16:03 UTC (permalink / raw)
  To: MTD

Hi there,

in "JFFS - A pratical guide" 
(http://www.embeddedlinuxworks.com/articles/jffs_guide.html) I read

"For completeness, I should mention that you can suspend and re-start 
the GC thread on demand by sending it a signal. A SIGSTOP and a 
SIGCONT can do that respectively."

I would like to be able to stop the garbage collection thread from 
within my application when doing some time critical things.
Is it safe to just do a

~ # kill -s SIGSTOP `pidof jffs2_gcd_mtd0`

even if my root fs is on this JFFS2 partition?

(I just tried it now and it seems to work. But IIRC a while ago my 
system hung when I did something like that...)


Thanks,

Steven

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

end of thread, other threads:[~2003-06-12  9:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-11 16:03 Stopping the GC thread? Steven Scholz
2003-06-11 16:07 ` David Woodhouse
2003-06-11 16:12   ` Steven Scholz
2003-06-11 16:18     ` David Woodhouse
2003-06-11 16:20       ` Steven Scholz
2003-06-11 16:23         ` David Woodhouse
2003-06-12  9:08   ` Steven Scholz
2003-06-12  9:18     ` David Woodhouse
2003-06-12  9:35       ` Steven Scholz
2003-06-12  9:41         ` David Woodhouse
2003-06-12  9:52         ` Jörn Engel

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