Linux SCSI subsystem development
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: MShetty <mranalini.shetty@patni.com>
Cc: linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: Executing a scsi command
Date: Fri, 8 Nov 2002 17:24:01 +0100	[thread overview]
Message-ID: <20021108162401.GB32005@suse.de> (raw)
In-Reply-To: <3DCBE4C7.DB1AEE9F@patni.com>

On Fri, Nov 08 2002, MShetty wrote:
> Hi,
> 
> Does request_queue's queuedata contain the Scsi_Device pointer ?? Saw it
> done in scsi_merge.c
> 
>       Scsi_Device *SDpnt;
>       struct Scsi_Host *SHpnt;
> 
>       SDpnt = (Scsi_Device *) q->queuedata;
>       SHpnt = SDpnt->host;
> 
> Would help if I could get some comment on the above.

Well what's there to comment about? Yes ->queuedata holds pointer to
SCSI device, the block layer queues are per-device.

-- 
Jens Axboe


  reply	other threads:[~2002-11-08 16:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-07 13:44 Executing a scsi command MShetty
2002-11-08 16:22 ` MShetty
2002-11-08 16:24   ` Jens Axboe [this message]
2002-11-08 17:49 ` Sumit Agarwal

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=20021108162401.GB32005@suse.de \
    --to=axboe@suse.de \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mranalini.shetty@patni.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