public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Peter Grayson <pgrayson@realmsys.com>
To: linux-mtd@lists.infradead.org
Subject: Centralized Summary on root filesystem
Date: Fri, 20 May 2005 01:28:15 -0000	[thread overview]
Message-ID: <1116550355.4422.5.camel@pgrayson1.realmsys.com> (raw)
In-Reply-To: <1116538221.4427.206.camel@pgrayson1.realmsys.com>

The problem I am running into is that Linux will not unmount the root
filesystem; instead it remounts the filesystem read-only. The
centralized summary is not written to flash at remount time. This comes
into play when rebooting or shutting down. Because the centralized
summary is not up to date, the full jffs2_scan_medium() must take place.

I did the obvious and attempted to make the centralized summary be
written out when a read-write filesystem is remounted read-only in
jffs2_remount_fs(). Unfortunately, my feeble attempt yields some sort of
problem with the inode cache at boot-time. I see the following error:

  Eep. Trying to read_inode #1 when it's already in state 2!

I was wondering if anyone was using a jffs2 filesystem with CS as their
root partition? Is there a better way to get around this problem?

Pete

      reply	other threads:[~2005-05-20  1:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-06 17:25 Centralized Summary Peter Grayson
2005-05-13  8:32 ` Ferenc Havasi
2005-05-14  2:48   ` Peter Grayson
2005-05-18 13:56     ` Zoltan Sogor
2005-05-19 16:50       ` Peter Grayson
2005-05-19 21:30         ` Peter Grayson
2005-05-20  1:28           ` Peter Grayson [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=1116550355.4422.5.camel@pgrayson1.realmsys.com \
    --to=pgrayson@realmsys.com \
    --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