[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux1394-user
Subject:    Re: sbp2: sbp2util_node_write_no_wait failed
From:       Michael Brade <brade () informatik ! uni-muenchen ! de>
Date:       2005-11-05 12:32:55
Message-ID: 200511051333.08362.brade () informatik ! uni-muenchen ! de
[Download RAW message or body]

On Saturday 05 November 2005 13:07, Stefan Richter wrote:
> Michael Brade wrote:
> > Well, I just did it now, I put
> > #define SD_TIMEOUT              (7 * HZ)
> > in drivers/scsi/sd.c and I can tell you, finally it's fun again to work
> > with this hd :-) I'll see if it does any bad...
>
> Perhaps you need to define this time-out specifically for normal I/O
> (that which bothers you most; I think that would be sd_probe, perhaps
> sd_prepare_flush too) and keep the standard time-out for the rest, like
> spin-up, read capacity, cache sync on device removal, and so on.
I see, I'll have a look at that. I thought 7 seconds would be plenty for all 
the rest, too. Guess you're right though, just to be on the safe side 
(spin-up is about 6 seconds here, so 7 would indeed be risky).

> Note to other readers: Don't do this at home. A shorter SCSI timeout is only
> a hack, not a fix for sbp2's problems.
Not to dispute this, but:

> It will just cause the  command abortions to happen at higher frequency.
if you are talking about the write failures then from my experience I didn't 
think so. The "sbp2util_node_write_no_wait failed" happens *before* the timer 
is started, then it waits, and only then aborts. So what I *thought* was that 
after the sbp2util_node_write_no_wait failed there is really no sense in 
waiting for anything at all.

Cheers,
-- 
Michael Brade;                 KDE Developer, Student of Computer Science
  |-mail: echo brade !#|tr -d "c oh"|s\e\d 's/e/\@/2;s/$/.org/;s/bra/k/2'
  °--web: http://www.kde.org/people/michaelb.html

KDE 3: The Next Generation in Desktop Experience

[Attachment #3 (application/pgp-signature)]
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
mailing list Linux1394-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux1394-user

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic