All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: "David Mackay" <monitoreurope@yahoo.co.uk>
Cc: linux-mtd@lists.infradead.org
Subject: Re: JFFS
Date: Tue, 23 Oct 2001 23:00:32 +0100	[thread overview]
Message-ID: <15946.1003874432@redhat.com> (raw)
In-Reply-To: <20011023143913.42416.qmail@web20302.mail.yahoo.com>

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.

--
dwmw2

  reply	other threads:[~2001-10-23 21:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-23 14:39 JFFS David Mackay
2001-10-23 22:00 ` David Woodhouse [this message]
2001-11-07 18:20   ` JFFS David Mackay
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-12-03 11:53 JFFS Gerhard TAEUBL
2001-12-04  0:50 ` JFFS Paul Ruhland
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=15946.1003874432@redhat.com \
    --to=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=monitoreurope@yahoo.co.uk \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.