public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Anton Altaparmakov <aia21@cantab.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: tcq problem details Re: vanilla 2.5.13 severe file system corruption experienced follozing e2fsck ...
Date: Mon, 6 May 2002 14:10:42 +0200	[thread overview]
Message-ID: <20020506121042.GP820@suse.de> (raw)
In-Reply-To: <5.1.0.14.2.20020506093027.00aca720@pop.cus.cam.ac.uk> <5.1.0.14.2.20020505200138.00b2d660@pop.cus.cam.ac.uk> <20020505183451.98763.qmail@web14102.mail.yahoo.com> <5.1.0.14.2.20020505200138.00b2d660@pop.cus.cam.ac.uk> <5.1.0.14.2.20020506093027.00aca720@pop.cus.cam.ac.uk> <5.1.0.14.2.20020506105723.04138980@pop.cus.cam.ac.uk>

On Mon, May 06 2002, Anton Altaparmakov wrote:
> Jens,
> 
> I didn't get a panic in the limited testing I did just now on 2.5.14 for 
> ntfs however I do get soemthing odd. Even when the box is fully idle 
> proc/ide/blah/tcq shows this:
> 
> TCQ currently on:       yes
> Max queue depth:        32
> Max achieved depth:     14
> Max depth since last:   1
> Current depth:          0
> Active tags:            [ 1, 3, 4, 6, 9, 11, 12, 14, 17, 19, 20, 22, 25, 
> 27, 28, 29, 30, 31, ]
> Queue:                  released [ 1390 ] - started [ 3986 ]
> pending request and queue count mismatch (counted: 18)
> DMA status:             not running
> 
> Some times the number of active tags is higher, seems to vary...
> 
> /me ignorant: this looks wrong. Why are there active tags when no activity? 
> If a am right and this is a problem then perhaps tags are "leaking" some 
> how?

Agrh, that's a silly bug in blk_queue_init_tags(). Could you replace the
memset() of tags->tag_index in there with something ala:

	for (i = 0; i < depth; i++)
		tags->tag_index[i] = NULL;

and see if that solves it?

-- 
Jens Axboe


  reply	other threads:[~2002-05-06 12:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-05 18:34 vanilla 2.5.13 severe file system corruption experienced follozing e2fsck william stinson
2002-05-05 19:04 ` Anton Altaparmakov
2002-05-06  5:55   ` Jens Axboe
2002-05-06  8:47     ` Anton Altaparmakov
2002-05-06  8:50       ` Jens Axboe
2002-05-06 10:02         ` tcq problem details " Anton Altaparmakov
2002-05-06 12:10           ` Jens Axboe [this message]
2002-05-06 13:18             ` Jens Axboe
2002-05-06 14:36               ` Anton Altaparmakov
2002-05-06 13:43         ` Sebastian Droege
2002-05-06 13:48           ` Jens Axboe
2002-05-06 15:14             ` Sebastian Droege
2002-05-06 15:17               ` Jens Axboe

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=20020506121042.GP820@suse.de \
    --to=axboe@suse.de \
    --cc=aia21@cantab.net \
    --cc=linux-kernel@vger.kernel.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