public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Rick Bronson <rick@efn.org>
To: linux-mtd@lists.infradead.org
Subject: Re: infinite loop in jffs2_flush_wbuf_gc()?
Date: Thu, 14 Jul 2005 07:11:36 -0700	[thread overview]
Message-ID: <E1Dt4R6-0005UI-00@amazonia.client.comcast.net> (raw)
In-Reply-To: <1121294622.12224.87.camel@localhost.localdomain> (message from David Woodhouse on Wed, 13 Jul 2005 23:43:41 +0100)

David,

  In a netshell, here is the test case:

  Using 20050712 cvs mtd on an Atmel AT91RM9200 running linux-2.6.9
with a NAND part and doing:

1. Erase a jffs2 NAND partition, then mount it.
2. Make 5000 170 byte files named test0000.bin through test4999.bin in
   the partition.
3. run "ls -Rl" on the partition mount point.
4. remove all files in the partition via "rm -rf"

  A few seconds after the command line prompt appears the gc code goes
  into a 12 minute temporary "hang" loop in jffs2_flush_wbuf_gc() in
wbuf.c starting at: 

	} else while (old_wbuf_len &&
		      old_wbuf_ofs == c->wbuf_ofs) {

  Rick Bronson

> Hm. 12 minutes is a fairly significant problem. Can you report your test
> case to the mailing list?
> 
> -- 
> dwmw2
> 
> 

  parent reply	other threads:[~2005-07-14 14:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-08 16:26 infinite loop in jffs2_flush_wbuf_gc()? Rick Bronson
2005-07-08 16:32 ` Artem B. Bityuckiy
2005-07-08 16:59   ` Rick Bronson
2005-07-11 14:55 ` David Woodhouse
     [not found]   ` <E1Ds2ma-0005ta-00@amazonia.client.comcast.net>
     [not found]     ` <1121108481.27264.129.camel@hades.cambridge.redhat.com>
     [not found]       ` <E1Ds4AF-00063d-00@amazonia.client.comcast.net>
     [not found]         ` <1121115438.3430.6.camel@localhost.localdomain>
     [not found]           ` <E1DsMIp-0004U9-00@amazonia.client.comcast.net>
     [not found]             ` <1121181101.12169.4.camel@hades.cambridge.redhat.com>
     [not found]               ` <E1DsNHk-0004bq-00@amazonia.client.comcast.net>
     [not found]                 ` <1121186381.12086.6.camel@localhost.localdomain>
     [not found]                   ` <E1DsOD0-0004iT-00@amazonia.client.comcast.net>
     [not found]                     ` <1121189272.12224.10.camel@localhost.localdomain>
     [not found]                       ` <E1Dspqm-0003zl-00@amazonia.client.comcast.net>
     [not found]                         ` <1121294622.12224.87.camel@localhost.localdomain>
2005-07-14 14:11                           ` Rick Bronson [this message]
2005-07-14 14:39                             ` David Woodhouse
2005-07-14 17:14                             ` Artem B. Bityuckiy
2005-07-14 17:18                             ` Artem B. Bityuckiy

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=E1Dt4R6-0005UI-00@amazonia.client.comcast.net \
    --to=rick@efn.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox