From: David Woodhouse <dwmw2@infradead.org>
To: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
Cc: linux-mtd@lists.infradead.org,
Larry Doolittle <ldoolitt@recycle.lbl.gov>
Subject: Re: JFFS2_RESERVED_BLOCKS_*
Date: Thu, 04 Oct 2001 10:34:32 +0100 [thread overview]
Message-ID: <32571.1002188072@redhat.com> (raw)
In-Reply-To: <20011003182904.C21578@wohnheim.fh-wedel.de>
joern@wohnheim.fh-wedel.de said:
> Formal proof is a tough one. But the difference between theoretical
> and practical minimum should be a couple of bugs, that might be found
> with a bigger userbase.
True, but people are using this in production, so just changing the default
isn't particularly sane.
Changing the default would also require that I (or someone) actually has
enough time available in the near future to _fix_ those bugs when they turn
up. I'm hoping that we can get a contract soon which involves reducing the
GC overhead, and I can spend some real time on it. Until then, I have to
leave it at the overly-conservative current value.
I can point you at some of the offending bugs already. We decompress and
recompress data on garbage-collection. If it's not changing, we should just
copy the compressed version intact. If it _is_ changing because the block
we're garbage-collecting is partially obsoleted by later writes, we should
make sure the new compressed version isn't larger than the old version
unless we have slack space. If it would exceed the available space, we need
to copy it intact and keep the old version number.
We probably also need to make the decisions on whether to allow writes more
fine-grained - actually working on the number of bytes available not the
number of blocks.
> What wheel do I have to turn, to lower the limit myself?
This one's been answered. If it breaks, you get to keep both pieces :)
--
dwmw2
prev parent reply other threads:[~2001-10-04 9:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-02 16:14 JFFS2_RESERVED_BLOCKS_* Larry Doolittle
2001-10-02 16:35 ` JFFS2_RESERVED_BLOCKS_* David Woodhouse
2001-10-02 19:45 ` JFFS2_RESERVED_BLOCKS_* dennis noermann
2001-10-02 19:56 ` JFFS2_RESERVED_BLOCKS_* David Woodhouse
2001-10-03 16:29 ` JFFS2_RESERVED_BLOCKS_* Jörn Engel
2001-10-03 22:44 ` JFFS2_RESERVED_BLOCKS_* dennis noermann
2001-10-04 9:34 ` David Woodhouse [this message]
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=32571.1002188072@redhat.com \
--to=dwmw2@infradead.org \
--cc=joern@wohnheim.fh-wedel.de \
--cc=ldoolitt@recycle.lbl.gov \
--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