diff options
author | Stephen M. Cameron <StephenM.Cameron> | 2010-12-16 14:01:03 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-12-21 13:37:27 -0500 |
commit | 35dd3039e09cd46ca3a8733ff1c817bf7b7b19ce (patch) | |
tree | fc7454921c9e873efa14216204fdba871a03ec6c /drivers/scsi/hpsa.c | |
parent | a0b89872b305bd0f6f5af1dd26274a3f057a2303 (diff) |
[SCSI] hpsa: do not consider RAID level to be part of device identity
Otherwise, after doing a RAID level migration, the disk will be
disruptively removed and re-added as a different disk on rescan.
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/hpsa.c')
-rw-r--r-- | drivers/scsi/hpsa.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index a2408e591770..12deffccb8da 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c | |||
@@ -657,8 +657,6 @@ static inline int device_is_the_same(struct hpsa_scsi_dev_t *dev1, | |||
657 | return 0; | 657 | return 0; |
658 | if (dev1->devtype != dev2->devtype) | 658 | if (dev1->devtype != dev2->devtype) |
659 | return 0; | 659 | return 0; |
660 | if (dev1->raid_level != dev2->raid_level) | ||
661 | return 0; | ||
662 | if (dev1->bus != dev2->bus) | 660 | if (dev1->bus != dev2->bus) |
663 | return 0; | 661 | return 0; |
664 | return 1; | 662 | return 1; |