All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Christie <mikenc@us.ibm.com>
To: device-mapper development <dm-devel@redhat.com>
Cc: Lars Marowsky-Bree <lmb@suse.de>, Alasdair G Kergon <agk@redhat.com>
Subject: Re: [PATCH]  rm alloc_page from dm-emc take 2
Date: Mon, 11 Apr 2005 04:48:12 -0700	[thread overview]
Message-ID: <425A63FC.1060808@us.ibm.com> (raw)
In-Reply-To: <425A6145.7010302@cs.wisc.edu>

Mike Christie wrote:
> I am not sure if the first mail got sent out. Here is
> the correct mail with the patch.
> 
> Hey Lars,
> 
> Here is what I meant. A Page for just something around 8-16 bytes
> seems wasteful. Plus there is no reserve.
> 
> If you have to end up setting more bits maybe it is better to
> preallocate a command per device at create time, or maybe since
> there are four different combos I should have done it with this
> patch?
> 
> This was made against 2.6.12-rc2. Only compile tested.
> 
> Mike
> 




> +	if (bio_add_page(bio, virt_to_page(data), data_size,
> +			 offset_in_page(data)) != data_size) {

My concern though is that I do no think I can do this. I mean we cannot 
start the IO from the middle of a page.

  parent reply	other threads:[~2005-04-11 11:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-11 11:36 [PATCH] rm alloc_page from dm-emc take 2 Mike Christie
2005-04-11 11:40 ` Lars Marowsky-Bree
2005-04-11 11:48 ` Mike Christie [this message]
2005-04-11 12:00   ` Lars Marowsky-Bree

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=425A63FC.1060808@us.ibm.com \
    --to=mikenc@us.ibm.com \
    --cc=agk@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=lmb@suse.de \
    /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.