All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Ford <david+powerix@blue-labs.org>
To: Jens Axboe <axboe@suse.de>
Cc: Ivan Gyurdiev <ivg2@cornell.edu>,
	linux-kernel@vger.kernel.org,
	Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>,
	Hans Reiser <reiser@namesys.com>
Subject: Re: TCQ problems in 2.6.0-test1: the summary
Date: Mon, 21 Jul 2003 12:21:58 -0400	[thread overview]
Message-ID: <3F1C1326.5080804@blue-labs.org> (raw)
In-Reply-To: <20030721123334.GF10781@suse.de>


 > > 4) Using a tcq-enabled kernel with queue depth of 8 results in

>>massive filesystem corruption for me, verified under reiserfs, and xfs.
>>Elevator choice does not appear to matter, while queue depth is
>>important - I do not appear to get filesystem corruption with queue
>>depth of 32. Reiser refuses to mount with such a kernel, and runs
>>--fix-fixable at boot time. This is reproducible every time.
>>    
>>
>
>This is really strange. The only difference between using 8 or 32 tags
>is when ide-disk stops attempting to queue. Are you getting any errors
>in dmesg when this happens? Reading the start io path for this, it looks
>correct to me. I'll have to try and reproduce when I get back.
>
On my laptop:

Here is the only thing that is similar on my system.  When TCQ is 
enabled, I have filesystem problems (minimal) every time I reboot and it 
nearly always affects the same files every time.  I too am using 
reiserfs.  I usually run reiserfsck and emerge the particular group of 
files.  For a while it was openssl libraries, now it's kde libraries.

Note, reiserfsck never indicates any problems were found or fixed but 
the problems are none-the-less fixed.  (reiser guys: reiserfsck 
--fix-fixable always results in "--fix-fixable ignored")

Also note that there is never any indication ever that something is 
wacky.  Just out of the blue a file or files are corrupt and the bootup 
result is the same every time.

(~) # hdparm -I /dev/hda |head -n10

/dev/hda:

ATA device, with non-removable media
        Model Number:       IC25N030ATCS04-0                       
        Serial Number:      CSL305DAGVK71A
        Firmware Revision:  CA3OA72A


On one of my servers:

TCQ fscks it up bad.  It ran for over a month on .73 with nary an issue 
then all of a sudden it started barfing within hours of boot complaining 
about:

Jul 19 10:55:31 james hdc: invalidating tag queue (0 commands)
Jul 19 10:55:41 james ide_tcq_intr_timeout: timeout waiting for 
completion interrupt

and further disk access causes D state.  I upgraded this machine to 
2.6.0-test1 and now it's having fits with apic or acpi but that's 
another email.  And a side note, if I have TCQ compiled in w/ 
2.6.0-test1, the kernel barfs a long 40+ function OOPS on bootup.  It's 
a 24/7 server so I haven't put a serial cable on it to capture the oops 
yet :/

(~) # hdparm -I /dev/hdc

/dev/hdc:

ATA device, with non-removable media
        Model Number:       IBM-DPTA-372050                        
        Serial Number:      JMYJMFZ1555
        Firmware Revision:  P76OA30A

more if desired.

Other than this, I don't see any filesystem issues.

david



  parent reply	other threads:[~2003-07-21 16:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-19 22:37 TCQ problems in 2.6.0-test1: the summary Ivan Gyurdiev
2003-07-21 12:33 ` Jens Axboe
2003-07-21 15:58   ` Ivan Gyurdiev
2003-07-21 16:21   ` David Ford [this message]
2003-07-21 16:10     ` Ivan Gyurdiev
2003-07-22 11:36       ` David Ford

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=3F1C1326.5080804@blue-labs.org \
    --to=david+powerix@blue-labs.org \
    --cc=B.Zolnierkiewicz@elka.pw.edu.pl \
    --cc=axboe@suse.de \
    --cc=ivg2@cornell.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=reiser@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.