From: James Bottomley <James.Bottomley@steeleye.com>
To: dougg@torque.net, axboe@suse.de
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH] 2.5.51 SCSI_IOCTL_GET_IDLUN + _GET_BUS_NUMBER
Date: Thu, 12 Dec 2002 08:27:16 -0600 [thread overview]
Message-ID: <200212121427.gBCERG502453@localhost.localdomain> (raw)
In-Reply-To: Message from Douglas Gilbert <dougg@torque.net> of "Thu, 12 Dec 2002 18:44:15 +1100." <3DF83E4F.8000704@torque.net>
dougg@torque.net said:
> For disks both the SCSI_IOCTL_GET_IDLUN and SCSI_IOCTL_GET_BUS_NUMBER
> ioctls return the value 0 (type: int) in all cases. The attachment
> removes the dummy definitions of these ioctls in driver/block/
> scsi_ioctl.c so they fall through to the scsi mid level which
> correctly implements them (at least in terms of lk 2.4).
I'm not sure this is the correct thing to do. These ioctls may be there
because cdrecord is using them. In the new scheme, you can record a CD
without ever troubling the scsi mid-layer, so if cdrecord wants them, they
have to be provided in some fashion without relying on a fall through.
I've copied Jens on this mail, since he's the one that knows this stuff and
should be able to confirm or deny this suspicion. Jens?
James
next prev parent reply other threads:[~2002-12-12 14:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-12 7:44 [PATCH] 2.5.51 SCSI_IOCTL_GET_IDLUN + _GET_BUS_NUMBER Douglas Gilbert
2002-12-12 14:27 ` James Bottomley [this message]
2002-12-12 17:42 ` Jens Axboe
2002-12-12 20:39 ` Christoph Hellwig
2002-12-12 20:40 ` Jens Axboe
2002-12-12 22:40 ` 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=200212121427.gBCERG502453@localhost.localdomain \
--to=james.bottomley@steeleye.com \
--cc=axboe@suse.de \
--cc=dougg@torque.net \
--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