From: Michael Reed Date: Mon, 20 Sep 2010 16:20:22 +0000 (-0500) Subject: [SCSI] sd name space exhaustion causes system hang X-Git-Tag: v2.6.37-rc1~159^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a03ae0f556a931aa3747b70e44b78308f5b0590;p=pandora-kernel.git [SCSI] sd name space exhaustion causes system hang Following a site power outage which re-enabled all the ports on my FC switches, my system subsequently booted with far too many luns! I had let it run hoping it would make multi-user. It didn't. :( It hung solid after exhausting the last sd device, sdzzz, and attempting to create sdaaaa and beyond. I was unable to get a dump. Discovered using a 2.6.32.13 based system. correct this by detecting when the last index is utilized and failing the sd probe of the device. Patch applies to scsi-misc-2.6. Signed-off-by: Michael Reed Cc: Stable Tree Signed-off-by: James Bottomley --- Reading git-diff-tree failed