Linux Device Mapper development
 help / color / mirror / Atom feed
From: Jonathan Brassow <jbrassow@redhat.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: [PATCH 1/6] dm raid45 target: export region hash functions and add a needed one
Date: Thu, 18 Jun 2009 11:39:33 -0500	[thread overview]
Message-ID: <87672FCF-4B8D-45F8-9DA0-E4BD3E492ABE@redhat.com> (raw)
In-Reply-To: <4a368301.KBrCZcokAm87BF/S%heinzm@redhat.com>

Eliminate the 3rd argument to that function.  You can use  
'dm_rh_bio_to_region'.

  brassow

On Jun 15, 2009, at 12:21 PM, heinzm@redhat.com wrote:

>
> +void dm_rh_delay_by_region(struct dm_region_hash *rh,
> +			   struct bio *bio, region_t region)
> +{
> +	struct dm_region *reg;
> +
> +	/* FIXME: locking. */
> +	read_lock(&rh->hash_lock);
> +	reg = __rh_find(rh, region);
> +	bio_list_add(&reg->delayed_bios, bio);
> +	read_unlock(&rh->hash_lock);
> +}
> +EXPORT_SYMBOL_GPL(dm_rh_delay_by_region);
> +
> void dm_rh_stop_recovery(struct dm_region_hash *rh)
> {
> 	int i;

  parent reply	other threads:[~2009-06-18 16:39 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-15 17:21 [PATCH 1/6] dm raid45 target: export region hash functions and add a needed one heinzm
2009-06-16 14:09 ` Christoph Hellwig
2009-06-16 14:51   ` Heinz Mauelshagen
2009-06-16 17:55     ` Dan Williams
2009-06-16 19:11       ` Heinz Mauelshagen
2009-06-16 19:48         ` Dan Williams
2009-06-16 22:46         ` Neil Brown
2009-06-18 16:08           ` Jonathan Brassow
2009-06-19  1:43           ` Neil Brown
2009-06-19 10:33             ` Heinz Mauelshagen
2009-06-21  0:32               ` Dan Williams
2009-06-21 12:06               ` Neil Brown
2009-06-22 12:25                 ` Neil Brown
2009-06-22 19:10                 ` Heinz Mauelshagen
2009-07-02 12:52                   ` Heinz Mauelshagen
2009-07-06  3:21                     ` Neil Brown
2009-07-07 18:38                       ` Doug Ledford
2009-07-10 15:23                         ` Heinz Mauelshagen
2009-07-11 12:44                           ` Doug Ledford
2009-07-12  2:56                             ` Dan Williams
2009-07-08 18:56                       ` Heinz Mauelshagen
2009-06-18 16:39 ` Jonathan Brassow [this message]
2009-06-18 20:01   ` Heinz Mauelshagen

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=87672FCF-4B8D-45F8-9DA0-E4BD3E492ABE@redhat.com \
    --to=jbrassow@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox