From: Jens Axboe <axboe@suse.de>
To: Mike Christie <michaelc@cs.wisc.edu>
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 20:59:17 +0100 [thread overview]
Message-ID: <20060216195917.GY4203@suse.de> (raw)
In-Reply-To: <1140119620.20193.51.camel@max>
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.
--
Jens Axboe
next prev parent reply other threads:[~2006-02-16 19:59 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 [this message]
2006-02-16 20:00 ` Mike Christie
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=20060216195917.GY4203@suse.de \
--to=axboe@suse.de \
--cc=linux-scsi@vger.kernel.org \
--cc=michaelc@cs.wisc.edu \
/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