All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Mason <mason@suse.com>
To: comandante@zaralinux.com, tegeran@home.com
Cc: Matthias Andree <matthias.andree@stud.uni-dortmund.de>,
	linux-kernel@vger.kernel.org, reiserfs-list@namesys.com
Subject: Re: [reiserfs-list] Re: [PATCH] 2.4.10 improved reiserfs a lot, but could still be better
Date: Tue, 25 Sep 2001 09:06:02 -0400	[thread overview]
Message-ID: <327790000.1001423162@tiny> (raw)
In-Reply-To: <3BB07EA2.4010804@juridicas.com>
In-Reply-To: <B0005839269@gollum.logi.net.au> <20010924173210.A7630@emma1.emma.line.org> <20010924161518.KYHD11251.femail27.sdc1.sfba.home.com@there> <3BB07EA2.4010804@juridicas.com>



On Tuesday, September 25, 2001 02:54:58 PM +0200 Jorge Nerín
<jnerin@juridicas.com> wrote:
>> 
> Who says test.zero is a linear file and it's not scattered around the
> whole disk and the fs layer is filling holes...? If it's the case the
> write cache is a BIG win, just think that the fs writes a chunk at the
> beggining of the disk, then another chunk at the end, then another near
> the beginning, then...  you get the picture, in this case the disk
> reorders the seeks to best fit.
> 
> If you want to try a REAL linear write do a dd if=/dev/zero of=/dev/hde7
> or whatever unused partition you have.
> 

Exactly, especially since during the dd you're going to seek back to the
log for a few commit writes.

>From a filesystem point of view, I've spent hours and hours getting
reiserfs to order the writes correctly to keep data consistent after a
crash.  Turning on writeback caching without a battery backup more or less
throws all that work out the window.  Don't do it.

For some people, a UPS counts as a battery backup, but there are lots of
reasons that doesn't fly in any kind of production environment.  If your
job somehow depends on the data being safe, just get a raid controller with
batter backed cache.

-chris




  reply	other threads:[~2001-09-25 13:06 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-24 14:09 [PATCH] 2.4.10 improved reiserfs a lot, but could still be better Beau Kuiper
2001-09-24 14:46 ` [reiserfs-list] " Chris Mason
2001-09-24 15:32 ` Matthias Andree
2001-09-24 15:45   ` Alan Cox
2001-09-24 15:47     ` Matthias Andree
2001-09-24 16:08       ` Alan Cox
2001-09-24 16:08         ` [reiserfs-list] " Chris Dukes
2001-09-24 16:54         ` Matthias Andree
2001-09-24 16:15   ` Nicholas Knight
2001-09-24 16:40     ` [reiserfs-list] " Lehmann 
2001-09-24 16:53     ` Matthias Andree
2001-09-24 16:57       ` [reiserfs-list] " Lehmann 
2001-09-25 14:04         ` bill davidsen
2001-09-25 17:39           ` bill davidsen
2001-09-24 20:05       ` Nicholas Knight
2001-09-25  0:11         ` Matthias Andree
2001-09-25  4:49           ` Nicholas Knight
2001-09-25  6:00             ` Beau Kuiper
2001-09-25  6:17               ` Nicholas Knight
2001-09-25 10:44               ` Matthias Andree
2001-09-25 11:01                 ` ben-lists
2001-09-25 10:42             ` Matthias Andree
2001-09-25 11:07               ` Nicholas Knight
2001-09-25 14:47           ` Alex Bligh - linux-kernel
2001-09-25 15:13             ` Matthias Andree
2001-09-25 15:23             ` John Alvord
2001-09-25 22:41               ` bill davidsen
2001-09-25 12:54     ` Jorge Nerín
2001-09-25 13:06       ` Chris Mason [this message]
2001-09-25 13:17       ` Matthias Andree

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=327790000.1001423162@tiny \
    --to=mason@suse.com \
    --cc=comandante@zaralinux.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthias.andree@stud.uni-dortmund.de \
    --cc=reiserfs-list@namesys.com \
    --cc=tegeran@home.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.