linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ron Lawrence <rlawrence@netraverse.com>
To: Peter Osterlund <petero2@telia.com>
Cc: <linux-kernel@vger.kernel.org>, Jens Axboe <axboe@suse.de>
Subject: Re: CDROM ioctl bug (fwd)
Date: Thu, 29 Nov 2001 10:17:55 -0700 (MST)	[thread overview]
Message-ID: <Pine.LNX.4.33.0111291006290.1704-100000@monster.jayfay.com> (raw)
In-Reply-To: <m2elmi1mjx.fsf@ppro.localdomain>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 1397 bytes --]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 29 Nov 2001, Peter Osterlund wrote:
>Ron Lawrence <rlawrence@netraverse.com> writes:
>> busy. Here are the symptoms of my problem : doing reads from a CDROM
>> device intermingled with CDROM_MEDIA_CHANGED ioctls causes long pauses
>> during the ioctl. This behavior started in 2.4.10. The ioctl can take a
>> very long time to return, especially if reading large chunks.
>This patch fixes the problem for my USB CDROM device. Maybe a similar
>patch is needed for the IDE case, I haven't looked yet.

Thanks! I should have mentioned that it affects CDROM drives when accessed
via ide-scsi, but not when accessed "normally" via ide.  So, your patch
helps this case too. It is still significantly slower than "normal"
access, and I will run some tests to see if it's still slower in this case
than it was in 2.4.9.

>In general, who is responsible for unplugging the request queue after
>queuing an ioctl command?
>
>Peter Österlund             petero2@telia.com
>Sköndalsvägen 35            http://w1.894.telia.com/~u89404340
>S-128 66 Sköndal            +46 8 942647
>Sweden

Ron Lawrence
rlawrence@NeTraverse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8Bm3GU0yq8UBYK2oRAsH/AJ9fy5LQSTiES5PD0BczAb82EXrsYgCaA3sI
zeX3IuZnQzh7B80TT4oJH4M=
=+UKy
-----END PGP SIGNATURE-----



  reply	other threads:[~2001-11-29 17:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-28 18:44 CDROM ioctl bug (fwd) Ron Lawrence
2001-11-28 23:51 ` Peter Osterlund
2001-11-29 17:17   ` Ron Lawrence [this message]
2001-11-29 17:27   ` Jens Axboe
2001-11-29 18:38     ` Ron Lawrence
2001-11-29 18:48       ` Jens Axboe
2001-11-29 14:21 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=Pine.LNX.4.33.0111291006290.1704-100000@monster.jayfay.com \
    --to=rlawrence@netraverse.com \
    --cc=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=petero2@telia.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;
as well as URLs for NNTP newsgroup(s).