From: Oleg Drokin <green@namesys.com>
To: Chris Mason <mason@suse.com>
Cc: Tom Vier <tmv@comcast.net>, reiserfs-list@namesys.com
Subject: Re: anyone port data-logging patches to -rc3?
Date: Fri, 23 May 2003 16:54:11 +0400 [thread overview]
Message-ID: <20030523125411.GA7274@namesys.com> (raw)
In-Reply-To: <1053693891.5455.51.camel@tiny.suse.com>
Hello!
On Fri, May 23, 2003 at 08:44:51AM -0400, Chris Mason wrote:
> > > > Also probably we do not want to allow remounting with different data-logging mode,
> > > > may be we should even add a check in reiserfs_remount() and spit out an error in such a case?
> > > Jeff Mahoney managed to trigger a race by switching between data=journal
> > > and the other modes. All we really need to do is be able to switch data
> > > mode when remounting from readonly to rw (as in for the root FS), so
> > > I'll limit the remounting code to that.
> > Any chance you would also rework journaling code a bit, so that it does not occupy
> > ram for various tables/lists when the fs is in R/O mode?
> I think I would rather do that in 2.5.x first, perhaps along with some
> changes to more dynamic tables/lists for the journal memory structures.
> The data logging code started that process, but I'd like to keep the
> 2.4.x data logging changes smallish right now so we can get it all
> submitted.
This is ok with me.
> Aside from that raid remount bug, do you see major problems with keeping
> the memory around in readonly mode?
Not major, but it allocates
(bmap_nr * sizeof(struct reiserfs_bitmap_node *) + SB_ONDISK_JOURNAL_SIZE(p_s_sb) * 2 * sizeof(struct reiserfs_journal_cnode)) bytes
of ram that is never used.
This is kind of pity, esp. on small-ram boxes.
Bye,
Oleg
next prev parent reply other threads:[~2003-05-23 12:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-23 0:30 anyone port data-logging patches to -rc3? Tom Vier
2003-05-23 9:46 ` Oleg Drokin
2003-05-23 12:28 ` Chris Mason
2003-05-23 12:36 ` Oleg Drokin
2003-05-23 12:44 ` Chris Mason
2003-05-23 12:54 ` Oleg Drokin [this message]
2003-05-23 16:15 ` Philippe Gramoullé
2003-05-23 16:24 ` Oleg Drokin
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=20030523125411.GA7274@namesys.com \
--to=green@namesys.com \
--cc=mason@suse.com \
--cc=reiserfs-list@namesys.com \
--cc=tmv@comcast.net \
/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.