public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "David Mackay" <monitoreurope@yahoo.co.uk>
To: David Woodhouse <dwmw2@infradead.org>
Cc: linux-mtd@lists.infradead.org
Subject: Re: JFFS
Date: Wed, 7 Nov 2001 18:20:35 +0000 (GMT)	[thread overview]
Message-ID: <20011107182035.47243.qmail@web20302.mail.yahoo.com> (raw)
In-Reply-To: <15946.1003874432@redhat.com>

 --- David Woodhouse <dwmw2@infradead.org> wrote: > 
> monitoreurope@yahoo.co.uk said:
> >  As we use /var for FIFO data storage on this
> system (many 8-32K
> > files) we need a reliable predictable free space
> estimation in order
> > to be able to maximise the number of stored files
> before we delete to
> > add new. Therefore a better understanding of the
> inner workings of
> > JFFS would be appreciated.
> 
> We make stuff up in jffs2_statfs(). You may be able
> to improve it if you 
> include c->erasing_size in the calculation of
> 'avail', and you'll probably 
> want to include the size of the blocks on the
> erase_pending_list too.

David,

Is there a method by which we could call the garbage
collection function on demand? I ask because our 1 meg
partion mounted as /var will be quite static as we
have a ram disk for transient info. Therfore we will
probably only do a write every 1 hour or so. It would
therfore pay us to link garbage collection with our
FIFO clean up.

David.

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

  reply	other threads:[~2001-11-07 18:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-23 14:39 JFFS David Mackay
2001-10-23 22:00 ` JFFS David Woodhouse
2001-11-07 18:20   ` David Mackay [this message]
2001-11-07 18:40     ` JFFS David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2004-09-29 13:28 Jffs lp4u
2004-09-29 15:32 ` Jffs Michael Moedt
2001-05-06 22:36 JFFS Jason Walker

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=20011107182035.47243.qmail@web20302.mail.yahoo.com \
    --to=monitoreurope@yahoo.co.uk \
    --cc=dwmw2@infradead.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