From: Denis Vlasenko <vda@ilport.com.ua>
To: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: akpm@osdl.org, Horst Hummel <horst.hummel@de.ibm.com>,
linux-kernel@vger.kernel.org
Subject: Re: [patch 7/12] s390: fba dasd i/o errors.
Date: Tue, 12 Jul 2005 15:36:19 +0300 [thread overview]
Message-ID: <200507121536.19848.vda@ilport.com.ua> (raw)
In-Reply-To: <OF4C6CD4B3.003279A6-ON4225703C.0039E4A7-4225703C.003A3B95@de.ibm.com>
On Tuesday 12 July 2005 13:36, Martin Schwidefsky wrote:
> > > @@ -354,6 +354,8 @@ dasd_fba_build_cp(struct dasd_device * d
> > > }
> > > cqr->device = device;
> > > cqr->expires = 5 * 60 * HZ; /* 5 minutes */
> > > + cqr->retries = 32;
> >
> > 2..4 maybe, but 32? This isn't tiny by any account.
>
> Are you arguing the use of the adjective "tiny" or the technical
> aspects of using 32 as the number of retries for dasd fba?
> In the dasd driver we use a retry count of 255 as "standard", so
> 32 is indeed much smaller than that. If you can call it tiny,
> well who cares??
I meant that 32 retries is too many. Retries tend to multiply.
If OS does N retries per failed attempt and disk drive does M
attempts per attempt, you end up with N*M retries.
Add a few 'retrying' layers, and you have a 'I cannot umount
this fscking scratched CDROM, maybe tomorrow' type disaster.
It's better to err to the smaller number of attempts.
--
vda
prev parent reply other threads:[~2005-07-12 12:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-11 16:36 Martin Schwidefsky
2005-07-12 10:22 ` Denis Vlasenko
2005-07-12 10:36 ` Martin Schwidefsky
2005-07-12 12:36 ` Denis Vlasenko [this message]
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=200507121536.19848.vda@ilport.com.ua \
--to=vda@ilport.com.ua \
--cc=akpm@osdl.org \
--cc=horst.hummel@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=schwidefsky@de.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®