From: Oleg Drokin <green@linuxhacker.ru>
To: Chris Mason <mason@suse.com>
Cc: reiserfs-list@namesys.com
Subject: Re: v3 experimental data=ordered and logging speedups for 2.6.1
Date: Wed, 11 Feb 2004 17:09:43 +0200 [thread overview]
Message-ID: <20040211150943.GE3042@linuxhacker.ru> (raw)
In-Reply-To: <1076511571.15499.32.camel@watt.suse.com>
Hello!
On Wed, Feb 11, 2004 at 09:59:31AM -0500, Chris Mason wrote:
> > > thousands (hundreds of thousands) of times per day. It wasn't an easy
> > > bug to hit.
> > What are the symptoms?
> The rpm database is corrupted, rpm --rebuild-db is required.
Hm, that's really strange. But on ia64 default io size is 64k, do they have
same problems there?
> > > other tricky parts when the data=journal code is added. We've already
> > > made our own file_write call, it doesn't make sense to warp it just to
> > > avoid our own __block_commit_write ;-)
> > Well, code duplication is not very good thing.
> It depends on how much you have to twist things to use the generic
> code. If we used __block_commit_write, buffers would be marked dirty
> when it completes. This won't work for data=journal at all, we don't
> want them marked dirty.
Well, if you do not want them marked dirty, you just do not need to call
commit_write at all since the only thing it does is marking buffers dirty ;)
And you can have a list of buffers at the allocation time anyway,
so no need to do extra checks about partial page writes and so on since
all these checks were already done.
Bye,
Oleg
next prev parent reply other threads:[~2004-02-11 15:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-19 16:45 v3 experimental data=ordered and logging speedups for 2.6.1 Chris Mason
2004-01-19 22:53 ` Dieter Nützel
2004-01-19 22:54 ` Mike Fedyk
2004-01-21 1:50 ` Chris Mason
2004-02-09 13:04 ` Dieter Nützel
2004-02-09 14:14 ` Javier Marcet
2004-01-21 15:09 ` Oleg Drokin
2004-02-11 11:49 ` Oleg Drokin
2004-02-11 14:00 ` Chris Mason
2004-02-11 14:26 ` Oleg Drokin
2004-02-11 14:59 ` Chris Mason
2004-02-11 15:09 ` Oleg Drokin [this message]
2004-02-12 14:18 ` Chris Mason
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=20040211150943.GE3042@linuxhacker.ru \
--to=green@linuxhacker.ru \
--cc=mason@suse.com \
--cc=reiserfs-list@namesys.com \
/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.