All of lore.kernel.org
 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: Redirecting request
Date: Mon, 28 Oct 2002 17:24:33 +0100	[thread overview]
Message-ID: <20021028162433.GL2937@suse.de> (raw)
In-Reply-To: <3DBD3F8B.CDA9F96B@patni.com>

On Mon, Oct 28 2002, MShetty wrote:
> Hi,
> 
> In my make_request function (registered with blk_queue_make_request) I
> want to redirect the current request to "sd". To achieve this is it
> sufficient to write :
> bh->b_rdev = MKDEV(SCSI_DISK0_MAJOR, 0);
> 
> where bh is buffer_head

If b_rsector already points to the right offset off /dev/sda (not
partition), then yes.

-- 
Jens Axboe


      reply	other threads:[~2002-10-28 16:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-28 13:45 Redirecting request MShetty
2002-10-28 16:24 ` Jens Axboe [this message]

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=20021028162433.GL2937@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.