From: David Woodhouse <dwmw2@infradead.org>
To: Alexander Belyakov <abelyako@googlemail.com>
Cc: "Alexander Belyakov" <abelyako@mail.ru>,
"Jörn Engel" <joern@logfs.org>,
"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: [PATCH][JFFS2] Fix garbage collector block search
Date: Wed, 23 Apr 2008 15:01:26 +0100 [thread overview]
Message-ID: <1208959286.9212.799.camel@pmac.infradead.org> (raw)
In-Reply-To: <fe810cf0804230608t1183dbf4l99b168476875bfc0@mail.gmail.com>
On Wed, 2008-04-23 at 17:08 +0400, Alexander Belyakov wrote:
> On Wed, Apr 23, 2008 at 3:32 PM, David Woodhouse <dwmw2@infradead.org> wrote:
> >
> > I'm playing with it now, with the intent of committing it. Can you show
> > me how to reproduce the problem?
> >
>
> The most easy way to reproduce it is to fill jffs2 volume with single
> large file until there is no empty space, then remove this file and
> immediately try to write another file.
>
> Something like:
> ---
> #!/bin/sh
> rm -rf /mnt/vol1/*
> dd if=/dev/urandom of=/mnt/vol1/test.file bs=4096 count=32768
> rm /mnt/vol1/test.file
> dd if=/dev/urandom of=/mnt/vol1/test_new.file bs=2048 count=1024
> -------
>
> The bug is better reproduced on small volumes (for me it is just
> 4Mbytes). The first dd should exit with "No space left on device"
> error to be sure no free space left. The last dd should always
> succeed. If it fails - you catch the bug. Sometimes it is necessary to
> run this script in several time in a row before last dd exits with an
> error.
Hm, I can't make it fail. I'm using nandsim, and have enabled the
'Museum IDs' so that I can have a 4MiB device (I've also tried 2MiB).
I never even see the 'Synching wbuf in order to reuse
erasable_pending_wbuf_list blocks' message, whether I have debugging
enabled or whether I just unable that one message.
--
dwmw2
next prev parent reply other threads:[~2008-04-23 14:01 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-12 15:51 [PATCH][JFFS2] Fix garbage collector block search Alexander Belyakov
2008-01-14 10:23 ` Alexander Belyakov
2008-01-14 13:28 ` Jörn Engel
2008-01-15 12:24 ` Alexander Belyakov
2008-01-15 13:33 ` Jörn Engel
2008-01-18 16:28 ` Alexander Belyakov
2008-02-25 12:50 ` Jörn Engel
2008-04-22 16:47 ` David Woodhouse
2008-04-23 11:31 ` Alexander Belyakov
2008-04-23 11:32 ` David Woodhouse
2008-04-23 13:08 ` Alexander Belyakov
2008-04-23 14:01 ` David Woodhouse [this message]
2008-04-23 14:30 ` David Woodhouse
2008-04-23 15:25 ` Alexander Belyakov
2008-04-23 15:30 ` David Woodhouse
2008-04-24 7:17 ` Alexander Belyakov
2008-04-24 7:28 ` David Woodhouse
2008-04-24 7:48 ` Alexander Belyakov
2008-04-24 7:51 ` David Woodhouse
2008-04-24 10:14 ` Alexander Belyakov
2008-04-24 10:32 ` David Woodhouse
2008-04-24 10:42 ` Alexander Belyakov
2008-04-24 11:05 ` David Woodhouse
2008-04-24 11:11 ` Jörn Engel
2008-04-24 11:21 ` Alexander Belyakov
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=1208959286.9212.799.camel@pmac.infradead.org \
--to=dwmw2@infradead.org \
--cc=abelyako@googlemail.com \
--cc=abelyako@mail.ru \
--cc=joern@logfs.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