RE: [PATCH] scsi_transport_sas: introduce a sas_port entity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2006-06-20 at 13:11 -0600, Moore, Eric wrote:
> Stack traceback for pid 7313
> 0xffff81001e111040     7313     7300  1    1   R  0xffff81001e111370
> *insmod
> RSP           RIP                Function (args)
> 0xffff810006e61b60 0xffffffff802645cc
> attribute_container_device_trigger+0x49 (0xffff81000e06c488,
> 0xffff81000927b8c0, 0xffff81000e06c4e0)
> 0xffff810006e61b78 0xffffffff802645cf
> attribute_container_device_trigger+0x4c (0xffff8100041c11d8,
> 0xffff8100041c11d8, 0xffff8100041c1000, 0x0, 0xffff8100041c11d8)
> 0xffff810006e61b98 0xffffffff802643a0
> attribute_container_add_device+0x57 (0xffffffffffffffff,
> 0xffffffffffffffff, 0xffff81001e4f1090, 0xffff81001e4f0ed0,

Oh, this one's actually quite simple: the phys aren't being deleted from
the expander.  Try this fix:

James

diff --git a/drivers/scsi/scsi_transport_sas.c b/drivers/scsi/scsi_transport_sas.c
index 2a5899d..e79d6d3 100644
--- a/drivers/scsi/scsi_transport_sas.c
+++ b/drivers/scsi/scsi_transport_sas.c
@@ -1176,7 +1176,7 @@ sas_rphy_delete(struct sas_rphy *rphy)
 		break;
 	case SAS_EDGE_EXPANDER_DEVICE:
 	case SAS_FANOUT_EXPANDER_DEVICE:
-		device_for_each_child(dev, NULL, do_sas_phy_delete);
+		sas_remove_children(dev);
 		break;
 	default:
 		break;


-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux