linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephan von Krawczynski <skraw@ithnet.com>
To: Willy Tarreau <willy@w.ods.org>
Cc: linux-kernel@vger.kernel.org, willy@w.ods.org,
	marcelo@conectiva.com.br, kpfleming@cox.net, stoffel@lucent.com,
	gibbs@scsiguy.com, green@namesys.com
Subject: Re: Undo aic7xxx changes (now rc7+aic20030603)
Date: Tue, 24 Jun 2003 23:26:09 +0200	[thread overview]
Message-ID: <20030624232609.5887c159.skraw@ithnet.com> (raw)
In-Reply-To: <20030624174331.GA31650@alpha.home.local>

On Tue, 24 Jun 2003 19:43:31 +0200
Willy Tarreau <willy@w.ods.org> wrote:

> Hi Stephan,
> 
> > Is it possible that the verification errors do not occur because of a read
> > problem, but because of a page cached block getting trashed somehow between
> > "tar to tape" and "read from tape". I would suspect that some blocks
> > survive in memory and are re-used during verification. If for some reason
> > this data is invalid or corrupted the verification fails although the read
> > was correct.
> 
> That seems strange to me, I don't see how we could cache data from a char
> device.

Hello Willy,

sorry, you probably misunderstood my flaky explanation. What I meant was not a
cached block from the _tape_ (obviously indeed a char-type device) but from the
3ware disk (i.e. the other side of the verification). Consider the tape
completely working, but the disk data corrupt (possibly not from real reading
but from corrupted cache).

> It is possible that chkblk and tar don't use same block size and that
> your problem only occurs on larger transfers, or particularly aligned ones.

Very likely not the same block size, with tar I use -b64.
 
> You could try to increase the block size in chkblk to something bigger than a
> page for example. I don't know if tar reads your tape at full speed,

It does. There's no head repositioning.

> but it's
> possible that if it doesn't cope with the tape speed, an overrun occurs and
> something finally gets dropped :-/

Very unlikely, how do you create an overrun in a synchronuos single read
operation?
 
> > I know that this sounds weird, but nevertheless possible, or not?
> > It may even be worse, the data may have also been left from the original
> > nfs action, correct?
> > Is there a way to completely invalidate/flush all cached blocks concerning
> > this fs (besides umount)?
> 
> I don't believe in this. But as Justin says, this card can get very high
> performances and hassle the hardware. Perhaps you have a rare weakness in
> your hardware that only occurs under these conditions, although I don't know
> how this could be checked.

I doubt that. Reason is that though the tape is pretty fast for a tape it is
still pretty slow compared to a disk. Since I use the box for months now I
would have expected such a hardware problem to show up for disk access, too.
And there was none.

> IIRC, you said that it works flawlessly in UP and you need SMP to hit the
> bug. Perhaps your second CPU is sometimes flaky (bad cache, etc...) :-/

Hm, interestingly the former freeze bug (solved by marcelo through backout of
some patch in rc8) did not show up in UP. Since then I did not test UP any
more. The problem itself does not necessarily point to flaky hardware, as I
would have no idea how bad cache can only show up during a tape verification,
that does not sound all that reasonable.
More likely could be a SMP race anywhere from nfs-server, 3ware disk driver to
page cache, or not?

Regards,
Stephan



  reply	other threads:[~2003-06-24 21:12 UTC|newest]

Thread overview: 110+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-07 20:22 Undo aic7xxx changes Marcelo Tosatti
2003-05-09  0:45 ` Justin T. Gibbs
2003-05-09 10:06   ` Stephan von Krawczynski
2003-05-09 12:06     ` Willy Tarreau
2003-05-09 13:02       ` Stephan von Krawczynski
2003-05-09 13:27         ` Willy Tarreau
2003-05-09 13:46           ` Stephan von Krawczynski
2003-05-09 14:56             ` Willy Tarreau
2003-05-09 15:08               ` Arjan van de Ven
2003-05-09 16:27                 ` Willy Tarreau
2003-05-09 15:18               ` Andreas Schwab
2003-05-09 15:19               ` William Lee Irwin III
2003-05-09 14:11           ` Stephan von Krawczynski
2003-05-09 14:57             ` Willy Tarreau
2003-05-12  9:02               ` Stephan von Krawczynski
2003-05-12 15:43                 ` Marc-Christian Petersen
2003-05-12 17:25                 ` Willy Tarreau
2003-05-23 10:38                 ` Stephan von Krawczynski
2003-05-23 12:58                   ` Justin T. Gibbs
2003-05-23 13:11                     ` Stephan von Krawczynski
2003-05-23 19:57                     ` Willy Tarreau
2003-05-24 10:52                       ` Stephan von Krawczynski
2003-05-24 11:16                         ` Willy Tarreau
2003-05-25 10:58                           ` Stephan von Krawczynski
2003-05-25 12:35                             ` Willy TARREAU
2003-05-25 12:47                             ` Marc-Christian Petersen
2003-05-25 13:50                               ` Stephan von Krawczynski
2003-05-25 14:01                                 ` Marc-Christian Petersen
2003-05-25 14:03                                 ` Geller Sandor
2003-05-26 15:00                               ` Stephan von Krawczynski
2003-05-26 16:44                                 ` Willy Tarreau
2003-05-30  8:09                                   ` Stephan von Krawczynski
2003-05-30  8:19                                     ` Marc-Christian Petersen
2003-05-30  8:21                                     ` Arjan van de Ven
2003-05-30  8:51                                       ` Stephan von Krawczynski
2003-05-30 13:34                                     ` Jeff Garzik
2003-05-30 13:59                                       ` Stephan von Krawczynski
2003-05-30 13:35                                     ` Jeff Garzik
2003-05-25 18:30                             ` Justin T. Gibbs
2003-06-05 15:05                           ` Undo aic7xxx changes (now rc7+aic20030603) Stephan von Krawczynski
2003-06-05 18:14                             ` Willy Tarreau
2003-06-06  8:17                               ` Oleg Drokin
2003-06-06  9:04                                 ` Stephan von Krawczynski
2003-06-06  9:17                                   ` Oleg Drokin
2003-06-06 15:24                                     ` short freezing while file re-creation Stephan von Krawczynski
2003-06-06 16:02                                       ` Oleg Drokin
2003-06-06 19:00                                         ` Chris Mason
2003-06-06 19:10                                           ` Oleg Drokin
2003-06-06 19:20                                             ` Chris Mason
2003-06-08 10:15                                     ` Undo aic7xxx changes (now rc7+aic20030603) Stephan von Krawczynski
2003-06-08 11:19                               ` Stephan von Krawczynski
2003-06-08 11:49                                 ` Stephan von Krawczynski
2003-06-08 16:07                                   ` Stephan von Krawczynski
2003-06-09 15:10                                   ` Stephan von Krawczynski
2003-06-09 15:32                                     ` Justin T. Gibbs
2003-06-10 10:23                                       ` Stephan von Krawczynski
2003-06-10 15:38                                         ` Justin T. Gibbs
2003-06-10 17:11                                           ` Stephan von Krawczynski
2003-06-10 18:07                                             ` Justin T. Gibbs
2003-06-11  0:51                                               ` Stephan von Krawczynski
2003-06-11  4:39                                                 ` Justin T. Gibbs
2003-06-11 20:23                                                   ` Stephan von Krawczynski
2003-06-11 21:01                                                     ` John Stoffel
2003-06-13  9:45                                                       ` Stephan von Krawczynski
2003-06-15 12:56                                                         ` Stephan von Krawczynski
2003-06-15 13:26                                                           ` John Stoffel
2003-06-17 20:47                                                         ` Marcelo Tosatti
2003-06-18 11:05                                                           ` Stephan von Krawczynski
2003-06-18 14:21                                                             ` John Stoffel
2003-06-18 14:54                                                               ` Stephan von Krawczynski
2003-06-20 19:59                                                             ` Marcelo Tosatti
2003-06-20 20:59                                                               ` Kevin P. Fleming
2003-06-20 21:13                                                                 ` Marcelo Tosatti
2003-06-20 22:03                                                                   ` Willy Tarreau
2003-06-20 23:48                                                                     ` Stephan von Krawczynski
2003-06-21 10:50                                                                       ` Willy TARREAU
2003-06-22 19:00                                                                         ` Stephan von Krawczynski
2003-06-23 11:30                                                                         ` Stephan von Krawczynski
2003-06-24 11:11                                                                           ` Stephan von Krawczynski
2003-06-24 17:43                                                                             ` Willy Tarreau
2003-06-24 21:26                                                                               ` Stephan von Krawczynski [this message]
2003-06-24 22:03                                                                                 ` Willy Tarreau
2003-06-24 23:43                                                                                   ` Stephan von Krawczynski
2003-06-25 19:16                                                                                     ` Willy Tarreau
2003-06-25 19:42                                                                                       ` Stephan von Krawczynski
2003-06-25 20:30                                                                                         ` John Stoffel
2003-06-26  9:36                                                                                           ` Stephan von Krawczynski
2003-06-26 11:34                                                                                           ` Stephan von Krawczynski
2003-06-30 10:10                                                                                             ` Stephan von Krawczynski
2003-06-30 11:39                                                                                               ` Marcelo Tosatti
2003-06-30 12:08                                                                                                 ` Stephan von Krawczynski
2003-06-25 23:04                                                                                       ` Bernd Eckenfels
2003-06-25  2:22                                                                                 ` Valdis.Kletnieks
2003-06-24 18:31                                                                     ` Bill Davidsen
2003-06-12 13:54                                                     ` Stephan von Krawczynski
2003-06-10  1:38                                     ` Zwane Mwaikambo
2003-06-10 10:30                                       ` Stephan von Krawczynski
2003-06-10 12:51                                         ` Zwane Mwaikambo
2003-06-10 13:38                                           ` Stephan von Krawczynski
2003-06-10 13:51                                             ` Zwane Mwaikambo
2003-06-10 15:55                                               ` Stephan von Krawczynski
2003-06-10 16:23                                                 ` Oleg Drokin
2003-06-10 17:44                                               ` Stephan von Krawczynski
2003-06-10 18:15                                                 ` Zwane Mwaikambo
2003-06-10 23:55                                                   ` Stephan von Krawczynski
2003-06-10 18:20                                                 ` Zwane Mwaikambo
2003-05-23 18:30                   ` Undo aic7xxx changes Marcelo Tosatti
2003-05-23 19:25                     ` Stephan von Krawczynski
     [not found] <20030507203025$6f60@gated-at.bofh.it>
     [not found] ` <20030509005011$6cee@gated-at.bofh.it>
     [not found]   ` <20030509101012$732a@gated-at.bofh.it>
     [not found]     ` <20030509122007$758f@gated-at.bofh.it>
     [not found]       ` <20030509131009$00f3@gated-at.bofh.it>
     [not found]         ` <20030611045008$03cf@gated-at.bofh.it>
     [not found]           ` <20030611203031$12de@gated-at.bofh.it>
     [not found]             ` <20030611211012$34cf@gated-at.bofh.it>
     [not found]               ` <20030613095017$1680@gated-at.bofh.it>
     [not found]                 ` <20030617210022$3e37@gated-at.bofh.it>
     [not found]                   ` <20030618111010$154f@gated-at.bofh.it>
2003-06-18 12:46                     ` Undo aic7xxx changes (now rc7+aic20030603) Pascal Schmidt
2003-06-18 12:49                       ` Stephan von Krawczynski

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=20030624232609.5887c159.skraw@ithnet.com \
    --to=skraw@ithnet.com \
    --cc=gibbs@scsiguy.com \
    --cc=green@namesys.com \
    --cc=kpfleming@cox.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    --cc=stoffel@lucent.com \
    --cc=willy@w.ods.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;
as well as URLs for NNTP newsgroup(s).