From: Kurt Garloff <garloff@suse.de>
To: Jens Axboe <axboe@suse.de>
Cc: Jeff Garzik <jgarzik@pobox.com>,
Linux SCSI list <linux-scsi@vger.kernel.org>,
Linux kernel list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Format Unit can take many hours
Date: Tue, 11 May 2004 18:26:38 +0200 [thread overview]
Message-ID: <20040511162638.GU4828@tpkurt.garloff.de> (raw)
In-Reply-To: <20040511161427.GW1906@suse.de>
[-- Attachment #1: Type: text/plain, Size: 1294 bytes --]
Hi,
On Tue, May 11, 2004 at 06:14:27PM +0200, Jens Axboe wrote:
> On Tue, May 11 2004, Jeff Garzik wrote:
> > Jens Axboe wrote:
> > >block/scsi_ioctl.c should likely receive similar treatment then.
> >
> > This timeout is dependent on media size, I should think...
> >
> > Is there any reason to think that this timeout will _not_ be continually
> > patched in the future, as larger and larger sizes are used?
The disks gets faster as well.
But if we have to touch it every three years, I don't see this as a
huge problem either. If you want some more room, you can set it to
24hrs now ...
> I think the timeout is only used for ancient programs that use the old
> sg interface. Newer programs should pass in the timeout themselves, or
> set IMMED as somebody else in this thread noted.
If you do use the sg interface, you can specify the timeout.
If you use SCSI_IOCTL_SEND_COMMAND, there's no way to do it and
the value from scsi_ioctl.c applies.
scsiformat is one of the users.
> So I do think the easiest is just to patch this define for the odd case,
> and forget about it.
Agreed.
Regards,
--
Kurt Garloff <garloff@suse.de> Cologne, DE
SUSE LINUX AG, Nuernberg, DE SUSE Labs (Head)
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-05-11 16:28 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-11 11:49 Kurt Garloff
2004-05-11 12:20 ` Jens Axboe
2004-05-11 12:40 ` Arjan van de Ven
2004-05-11 12:46 ` Jens Axboe
2004-05-11 12:44 ` Kurt Garloff
2004-05-11 16:10 ` Jeff Garzik
2004-05-11 16:14 ` Jens Axboe
2004-05-11 16:26 ` Kurt Garloff [this message]
2004-05-11 17:27 ` Jens Axboe
2004-05-11 14:01 ` Ricky Beam
2004-05-11 16:28 ` Bob Tracy
2004-05-11 16:44 ` Ricky Beam
2004-05-11 18:30 ` 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=20040511162638.GU4828@tpkurt.garloff.de \
--to=garloff@suse.de \
--cc=axboe@suse.de \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@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
all inboxes | Powered by JetHome®