Skip to contentSkip to conversation

MD: prepare RAID10 for inclusion in dm-raid.c

PATCH In review Jonathan Brassow 3 participants 4 messages Jun 26, 2012 – Jul 6, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MD: prepare RAID10 for inclusion in dm-raid.c

Neil,

Here's a couple patches that are necessary for MD before I can add RAID10 to the list of supported personalities through dm-raid.c:
1) md-raid10-rename-mirror_info.patch
2) md-raid1-rename-mirror_info.patch
3) md-move-IO_BLOCKED-to-md_h.patch
4) md-export-md_raid10_congested.patch

I'll send the patch that enables raid10 as a separate patch that depends on this patch set and a couple of DM patches.

brassow

#1 lore raw
Quoted 9 lines · On Tue, 26 Jun 2012 03:44:19 -0500 Jonathan Brassow <[email protected]> wrote:

Neil,

Here's a couple patches that are necessary for MD before I can add RAID10 to the list of supported personalities through dm-raid.c:
1) md-raid10-rename-mirror_info.patch
2) md-raid1-rename-mirror_info.patch
3) md-move-IO_BLOCKED-to-md_h.patch
4) md-export-md_raid10_congested.patch

Quoted 5 lines

I'll send the patch that enables raid10 as a separate patch that depends on this patch set and a couple of DM patches.

brassow

All 4 applied, thanks.

NeilBrown

#2 lore raw
In reply to Jonathan Brassow
Quoted 9 lines · Jonathan Brassow

Neil,

Here's a couple patches that are necessary for MD before I can add RAID10 to the list of supported personalities through dm-raid.c:
1) md-raid10-rename-mirror_info.patch
2) md-raid1-rename-mirror_info.patch
3) md-move-IO_BLOCKED-to-md_h.patch
4) md-export-md_raid10_congested.patch

Quoted 4 lines

I'll send the patch that enables raid10 as a separate patch that depends on this patch set and a couple of DM patches.

Can you explain a bit more detailed for me, what is this about? I.e. from

my point of view dm-raid and md-raid and fully separated but looks like I'm wrong and missing something.

Quoted 8 lines

brassow

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
Best regards,
[COOLCOLD-RIPN]
#3 lore raw
Quoted 12 lines · CoolCold

On Tue, Jun 26, 2012 at 12:44 PM, Jonathan Brassow <[email protected]> wrote:
Neil,

Here's a couple patches that are necessary for MD before I can add RAID10 to the list of supported personalities through dm-raid.c:
1) md-raid10-rename-mirror_info.patch
2) md-raid1-rename-mirror_info.patch
3) md-move-IO_BLOCKED-to-md_h.patch
4) md-export-md_raid10_congested.patch

Quoted 4 lines

I'll send the patch that enables raid10 as a separate patch that depends on this patch set and a couple of DM patches.

Can you explain a bit more detailed for me, what is this about? I.e. from my point of view dm-raid and md-raid and fully separated but looks like I'm wrong and missing something.

drivers/md/dm-raid.c is a device-mapper target that provides access to the MD personalities. So far, MD's RAID 1/4/5/6 have been made available to the device-mapper interface through this module. We are laying the ground work here for RAID10 to be made available in the same way.

You may wish to have a look at linux/Documentation/device-mapper/dm-raid.txt for additional information. Also note that in "[PATCH 4 of 4] MD RAID10: Export md_raid10_congested", I referenced a couple of other times that these types of changes were necessary.

Thanks,
brassow