From: Mike Christie <mikenc@us.ibm.com>
To: device-mapper development <dm-devel@redhat.com>
Cc: Alasdair G Kergon <agk@redhat.com>
Subject: Re: New -udm?
Date: Mon, 11 Apr 2005 02:34:48 -0700 [thread overview]
Message-ID: <425A44B8.4050807@us.ibm.com> (raw)
In-Reply-To: <425A42EF.50808@us.ibm.com>
Mike Christie wrote:
> Lars Marowsky-Bree wrote:
>
>> On 2005-04-10T18:14:44, Dave Olien <dmo@osdl.org> wrote:
>>
>>
>>> You're correct. I'll rewrite it on Thursday this week.
>>> I'll use the same methods Lars used in the dm-emc.c
>>
>>
>>
>> Note that dm-emc.c also would need to pre-allocate it's requests, but
>> doesn't right now :/
>>
>> Pre-allocating the requests sucks: Either we pre-allocate for _every_
>> path we might potentially need to send the request down on, or fix up
>> the request for the path we sent it down on (which would require us to
>> use internal knowledge about the req structs we're not supposed to
>> have).
>
>
> what is wrong with what you have now where you utilize the queue/path's
> mempool by doing a blk_get_request with GFP_WAIT?
or were you talking about the page for data backing which does not have
a mempool like the bios (not per queue though) and requests.
Is that "fix up the
> request..." comment meaning that you do not like to access the request
> structure for that code, or was it meaning that you have one request
> that is shared across paths and it needs to be cleaned up for reuse.
>
> I think the hw_handlers setting up the requests is not so fun. Maybe the
> block layer scsi_ioctl code could be reworked a little so that it could
> set some of that up for us since it is very similar. My hw handler was
> basically cutting and pasting of that code with some large
> simplifcations. I am working on a Target Port Group handler that is
> again cutting and pasting more code.
>
>>
>> Good solutions solicited ;-)
>>
>>
>> Sincerely,
>> Lars Marowsky-Brée <lmb@suse.de>
>>
>
>
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
>
next prev parent reply other threads:[~2005-04-11 9:34 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-10 19:29 New -udm? Lars Marowsky-Bree
2005-04-10 20:25 ` christophe varoqui
2005-04-10 23:36 ` Dave Olien
2005-04-10 23:36 ` Mike Christie
2005-04-11 1:14 ` Dave Olien
2005-04-11 8:46 ` Lars Marowsky-Bree
2005-04-11 9:27 ` Mike Christie
2005-04-11 9:34 ` Mike Christie [this message]
2005-04-11 9:56 ` Mike Christie
2005-04-11 11:43 ` Lars Marowsky-Bree
2005-04-11 11:53 ` Mike Christie
-- strict thread matches above, loose matches on Subject: below --
2005-04-11 17:36 goggin, edward
2005-04-11 18:25 ` Mike Christie
2005-04-11 18:26 ` Mike Christie
2005-04-11 18:31 ` Mike Christie
2005-04-11 22:56 ` Mike Christie
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=425A44B8.4050807@us.ibm.com \
--to=mikenc@us.ibm.com \
--cc=agk@redhat.com \
--cc=dm-devel@redhat.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.