From: Chris Mason <mason@suse.com>
To: reiserfs-list@namesys.com
Cc: linux-kernel@vger.kernel.org, axboe@suse.de
Subject: Re: [PATCH] write barriers for 2.4.x
Date: Thu, 14 Feb 2002 19:56:52 -0500 [thread overview]
Message-ID: <3728070000.1013734612@tiny> (raw)
In-Reply-To: <3132400000.1013646727@tiny>
In-Reply-To: <20020213222535.C0A45E64F2@ns1.suse.com> <3100680000.1013644053@tiny> <20020213235651.AC212E6360@ns1.suse.com> <3132400000.1013646727@tiny>
[-- Attachment #1: Type: text/plain, Size: 1043 bytes --]
Hello everyone,
Here's the full patch update. The aic7xxx code is changed to make
sure we only try to use tag commands when they are turned on for the
target, otherwise we can safely assume the drive won't do
other writes first.
The buslogic and sym53c8xx_2 code is included, and the reiserfs
code is updated to queue the commit block immediately after
the last log block when barrier mode is enabled. It wasn't
happening soon enough with the first patch, and the drive wasn't
getting the chance to flush the commit as a unit.
reiserfs was also changed back to waiting on the buffers. benchmarks
don't show dropping the waits actually made any speed difference, the
really critical wait that was hurting us was:
write X log blocks
wait
write 1 commit block
wait
With -o barrier, this is now:
write X log blocks
write 1 commit block
wait.
For scsi, the new code is about 10% faster on journal heavy stuff,
but you've really gotta hammer on the log to see it.
Patch is attached and against 2.4.18-pre9 (rc1 should be fine)
-chris
[-- Attachment #2: queue-barrier-5.diff.gz --]
[-- Type: application/x-gunzip, Size: 7727 bytes --]
next parent reply other threads:[~2002-02-15 0:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20020213222535.C0A45E64F2@ns1.suse.com>
[not found] ` <3100680000.1013644053@tiny>
[not found] ` <20020213235651.AC212E6360@ns1.suse.com>
[not found] ` <3132400000.1013646727@tiny>
2002-02-15 0:56 ` Chris Mason [this message]
2002-02-15 1:21 ` [PATCH] write barriers for 2.4.x Alan Cox
2002-02-15 2:25 ` Chris Mason
2002-02-15 22:03 ` Chris Mason
2002-02-13 21:59 Chris Mason
[not found] ` <m3vgd1ufbt.fsf@merlin.emma.line.org>
2002-02-14 16:01 ` Chris Mason
2002-02-14 17:53 ` 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=3728070000.1013734612@tiny \
--to=mason@suse.com \
--cc=axboe@suse.de \
--cc=linux-kernel@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox