From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: "Norman Diamond" <n0diamond@yahoo.co.jp>
Cc: <linux-kernel@vger.kernel.org>, <linux-scsi@vger.kernel.org>
Subject: Re: sg timeout problem
Date: Wed, 6 May 2009 10:38:52 +0100 [thread overview]
Message-ID: <20090506103852.19cb69b9@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <BB8F41726E2941CEB399F732BB3ED9E5@DIAMOND8600>
> But if sg is running on top of an actual SCSI driver, someone aborts the
> ioctl after 3 seconds. The ioctl returns success even though the operation
> didn't complete. I tried this with two Adaptec drivers and one NinjaSCSI
> driver with 100% repro.
>
> What am I missing? I need the call to run to completion.
If you set it to the max of a signed int does it behave, or to a large
value thats well under the limit. That will help tell if there is a
problem with sign handling in the scsi code somewhere or it is getting
multiplied up for some reason.
next prev parent reply other threads:[~2009-05-06 9:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-06 7:15 Norman Diamond
2009-05-06 9:38 ` Alan Cox [this message]
2009-05-08 11:22 ` Norman Diamond
2009-05-08 12:14 ` Douglas Gilbert
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=20090506103852.19cb69b9@lxorguk.ukuu.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=n0diamond@yahoo.co.jp \
/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®