public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Christie <michaelc@cs.wisc.edu>
To: Jens Axboe <axboe@suse.de>
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH 3/6] scsi tgt: add partial mappings support to bio_map_user
Date: Thu, 16 Feb 2006 14:00:34 -0600	[thread overview]
Message-ID: <43F4D9E2.5030703@cs.wisc.edu> (raw)
In-Reply-To: <20060216195917.GY4203@suse.de>

Jens Axboe wrote:
> On Thu, Feb 16 2006, Mike Christie wrote:
> 
>>Subject: [PATCH] block layer: add partial mappings support to bio_map_user
>>
>>For target mode we could end up with the case where we get very large
>>request from the initiator. The request could be so large that we
>>cannot transfer all the data in one operation. For example the
>>HBA's segment or max_sector limits might limit us to a 1 MB transfer.
>>To send a 5 MB command then we need to transfer the command chunk by chunk.
>>
>>To do this, tgt core will map in as much data as possible into a bio,
>>send this off, then when that transfer is completed we send off another
>>request/bio. To be able to pack as much data into a bio as possible
>>we need bio_map_user to support partially mapped bios. The attached patch
>>just adds a new argument to the those functions and if set will not
>>return a failure if the bio is partially mapped.
> 
> 
> Drop the partial flag and just always allow it, fixing up the few
> in-kernel users we have.
> 

ok will do.

  reply	other threads:[~2006-02-16 20:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-16 19:53 [PATCH 3/6] scsi tgt: add partial mappings support to bio_map_user Mike Christie
2006-02-16 19:59 ` Jens Axboe
2006-02-16 20:00   ` Mike Christie [this message]
2006-02-25 11:20   ` FUJITA Tomonori

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=43F4D9E2.5030703@cs.wisc.edu \
    --to=michaelc@cs.wisc.edu \
    --cc=axboe@suse.de \
    --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