From: Mike Miller Date: Mon, 4 Aug 2008 09:54:51 +0000 (+0200) Subject: cciss: make rebuild_lun_table behave better X-Git-Tag: v2.6.27-rc3~74^2~7 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=a72da29b6cbc5cf918567f2a0d76df6871e94b01;hp=a72da29b6cbc5cf918567f2a0d76df6871e94b01;p=linux-2.6-omap-h63xx.git cciss: make rebuild_lun_table behave better This patch makes the rebuild_lun_table smart enough to not rip a logical volume out from under the OS. Without this fix if a customer is running hpacucli to monitor their storage the driver will blindly remove and re-add the disks whenever the utility calls the CCISS_REGNEWD ioctl. Unfortunately, both hpacucli and ACUXE call the ioctl repeatedly. Customers have reported IO coming to a standstill. Calling the ioctl is the problem, this patch is the fix. Signed-off-by: Stephen M. Cameron Signed-off-by: Mike Miller Signed-off-by: Jens Axboe ---