dm hw_handler info
Hello,
Can someone please point me to some more information on hwhandler in particular the function/use of pg_init? I've already looked over the source dm-emc.c.
Thanks
Bart
Alasdair G Kergon
maintainerQuoted 3 lines · bart brooks
Can someone please point me to some more information on hwhandler in particular the function/use of
pg_init?
I've already looked over the sourcedm-emc.c.
Have you read the paper starting at page 155 (numbered 147) in
http://www.linuxsymposium.org/2005/linuxsymposium_procv1.pdf ?
Alasdair
Signature · 1 line
[email protected]
No haven't. I just downloaded it, will read it over thanks.
Bart
Quoted 46 lines
From: Alasdair G Kergon <[email protected]>
Reply-To: device-mapper development <[email protected]>
To: device-mapper development <[email protected]>
Subject: Re: [dm-devel] dmhw_handlerinfo
Date: Thu, 2 Mar 2006 22:02:48 +0000
MIME-Version: 1.0
Received: from hormel.redhat.com ([209.132.177.30]) by bay0-mc11-f10.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 2 Mar 2006 14:02:51 -0800
Received: from listman.util.phx.redhat.com (listman.util.phx.redhat.com [10.8.4.110])by hormel.redhat.com (Postfix) with ESMTPid 7CB7F735B2; Thu, 2 Mar 2006 17:02:51 -0500 (EST)
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com[172.16.52.254])by listman.util.phx.redhat.com (8.13.1/8.13.1) with ESMTP idk22M2oQh005741 for <[email protected]>;Thu, 2 Mar 2006 17:02:50 -0500
Received: from pobox.surrey.redhat.com (pobox.surrey.redhat.com [172.16.10.17])by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id k22M2n103154for <[email protected]>; Thu, 2 Mar 2006 17:02:49 -0500
Received: from agk.surrey.redhat.com (agk.surrey.redhat.com [172.16.10.74])by pobox.surrey.redhat.com (8.12.8/8.12.8) with ESMTP id k22M2mf2012824for <[email protected]>; Thu, 2 Mar 2006 22:02:48 GMT
Received: from agk by agk.surrey.redhat.com with local (Exim 4.34)id 1FEvsm-00024W-R8for [email protected]; Thu, 02 Mar 2006 22:02:48 +0000
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPtfpLB7P/ybN8=
Mail-Followup-To: device-mapper development <[email protected]>
References: <[email protected]>
User-Agent: Mutt/1.4.1i
X-loop: [email protected]
X-BeenThere: [email protected]
X-Mailman-Version: 2.1.5
Precedence: junk
List-Id: device-mapper development <dm-devel.redhat.com>
List-Unsubscribe: <https://www.redhat.com/mailman/listinfo/dm-devel>,<mailto:[email protected]?subject=unsubscribe>
List-Archive: <https://www.redhat.com/archives/dm-devel>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[email protected]?subject=help>
List-Subscribe: <https://www.redhat.com/mailman/listinfo/dm-devel>,<mailto:[email protected]?subject=subscribe>
Errors-To: [email protected]
Return-Path: [email protected]
X-OriginalArrivalTime: 02 Mar 2006 22:02:51.0915 (UTC) FILETIME=[0D0B55B0:01C63E45]Quoted 3 lines · bart brooks
Can someone please point me to some more information on hwhandler in particular the function/use of
pg_init?
I've already looked over the sourcedm-emc.c.Have you read the paper starting at page 155 (numbered 147) in
http://www.linuxsymposium.org/2005/linuxsymposium_procv1.pdf ?Alasdair
--
[email protected]--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
striped multipath -
In reply to Alasdair G KergonHello Alasdair -
Could you please answer a quick question for me -
Is it possible to define (create) a new logical device, which is striped multipath using dmsetup or some other means?
Thanks,
Bart Brooks
dm-stripe.c data corruption
In RHEL 4 U3 there�s a bug in dm-stripe.c, in the function stripe_map() which will result in data corruption.
The call to the macro below will step on the variable chunk, which is used later on in the function. uint32_t stripe = do_div(chunk, sc->stripes);
The following is a very simple solution:
sector_t chunk2 = chunk;uint32_t stripe = do_div(chunk2, sc->stripes);
Bart