FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 06-26-2012, 08:55 AM
Jonathan Brassow
 
Default DM RAID: Remove duplicate code.

dm-raid: Remove duplicate code.

Code must have gotten pasted in twice somehow. Remove redundant chunk.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>

Index: linux-upstream/drivers/md/dm-raid.c
================================================== =================
--- linux-upstream.orig/drivers/md/dm-raid.c
+++ linux-upstream/drivers/md/dm-raid.c
@@ -526,11 +526,6 @@ static int parse_raid_params(struct raid
else
rs->ti->split_io = region_size;

- if (rs->md.chunk_sectors)
- rs->ti->split_io = rs->md.chunk_sectors;
- else
- rs->ti->split_io = region_size;
-
/* Assume there are no metadata devices until the drives are parsed */
rs->md.persistent = 0;
rs->md.external = 1;


--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 
Old 07-04-2012, 01:14 AM
Alasdair G Kergon
 
Default DM RAID: Remove duplicate code.

On Tue, Jun 26, 2012 at 03:55:41AM -0500, Jon Brassow wrote:
> dm-raid: Remove duplicate code.
> Code must have gotten pasted in twice somehow. Remove redundant chunk.

I think that change is already in linux-next.

Alasdair

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 
Old 07-04-2012, 04:02 AM
Brassow Jonathan
 
Default DM RAID: Remove duplicate code.

On Jul 3, 2012, at 8:14 PM, Alasdair G Kergon wrote:

> On Tue, Jun 26, 2012 at 03:55:41AM -0500, Jon Brassow wrote:
>> dm-raid: Remove duplicate code.
>> Code must have gotten pasted in twice somehow. Remove redundant chunk.
>
> I think that change is already in linux-next.

yup, in dm-support-non-power-of-two-target-max_io_len.patch.

Thanks,
brassow

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 

Thread Tools




All times are GMT. The time now is 10:49 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org