All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Scholz <steven.scholz@imc-berlin.de>
To: MTD <linux-mtd@lists.infradead.org>
Subject: Stopping the GC thread?
Date: Wed, 11 Jun 2003 18:03:58 +0200	[thread overview]
Message-ID: <3EE752EE.8090902@imc-berlin.de> (raw)

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

             reply	other threads:[~2003-06-11 16:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-11 16:03 Steven Scholz [this message]
2003-06-11 16:07 ` Stopping the GC thread? 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EE752EE.8090902@imc-berlin.de \
    --to=steven.scholz@imc-berlin.de \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.