From manningc2@actrix.gen.nz Thu May 08 23:53:32 2008
Received: from [203.167.210.161] (helo=firstline.co.nz)
	by stoneboat.aleph1.co.uk with smtp (Exim 4.63)
	(envelope-from <manningc2@actrix.gen.nz>) id 1JuEzD-00009U-Ne
	for yaffs@lists.aleph1.co.uk; Thu, 08 May 2008 23:53:32 +0100
Received: (qmail 29330 invoked by uid 453); 8 May 2008 22:53:09 -0000
X-Virus-Checked: Checked by ClamAV on firstline.co.nz
Received: from Unknown (HELO [192.168.0.29]) (10.14.0.253)
	by firstline.co.nz (qpsmtpd/0.40) with ESMTP;
	Fri, 09 May 2008 10:53:09 +1200
From: Charles Manning <manningc2@actrix.gen.nz>
To: yaffs@lists.aleph1.co.uk
Date: Fri, 9 May 2008 10:53:08 +1200
User-Agent: KMail/1.9.6
References: <uej8dienp.wl%nakayama@pixela.co.jp>
In-Reply-To: <uej8dienp.wl%nakayama@pixela.co.jp>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200805091053.08735.manningc2@actrix.gen.nz>
X-Host-Lookup-Failed: Reverse DNS lookup failed for 203.167.210.161 (failed)
X-SA-Exim-Connect-IP: 203.167.210.161
X-SA-Exim-Mail-From: manningc2@actrix.gen.nz
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on
	stoneboat.aleph1.co.uk
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RDNS_NONE,
	SPF_NEUTRAL autolearn=no version=3.2.3
X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000)
X-SA-Exim-Scanned: Yes (on stoneboat.aleph1.co.uk)
Subject: Re: [Yaffs] [PATCH] cooperate multitasking with yaffs1
X-BeenThere: yaffs@lists.aleph1.co.uk
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of YAFFS NAND flash filesystem <yaffs.lists.aleph1.co.uk>
List-Unsubscribe: <http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs>, 
	<mailto:yaffs-request@lists.aleph1.co.uk?subject=unsubscribe>
List-Archive: <http://lists.aleph1.co.uk/lurker/list/yaffs.html>
List-Post: <mailto:yaffs@lists.aleph1.co.uk>
List-Help: <mailto:yaffs-request@lists.aleph1.co.uk?subject=help>
List-Subscribe: <http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs>,
	<mailto:yaffs-request@lists.aleph1.co.uk?subject=subscribe>
X-List-Received-Date: Thu, 08 May 2008 22:53:32 -0000

On Thursday 08 May 2008 16:49:14 Yoichi NAKAYAMA wrote:
> Hi,
> I run some application program, then mount yaffs1 partition
> in background, I observed the application program is paused
> until mount process is finished. The data scan loop takes too
> long time, and there is YYIELD() in the corresponding part of
> yaffs_ScanBackward() for yaffs2 partition.
> I inserted schedule() at the beginning of data scan loop,
> my problem disappeared. Is it a correct fix?
> (patch against cvs head attached).

Hello

Yes, this is a good thing to do for yaffs_Scan().

Thank you

Charles


