]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
cciss: make rebuild_lun_table behave better
authorMike Miller <mike.miller@hp.com>
Mon, 4 Aug 2008 09:54:51 +0000 (11:54 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 6 Aug 2008 10:30:03 +0000 (12:30 +0200)
commita72da29b6cbc5cf918567f2a0d76df6871e94b01
tree1ec0caea10895d9265ee7769cffea09e808c378e
parentf7108f91cdcaca07c6a99777b2724093294f36ee
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 <scameron@beardog.cca.cpqcorp.net>
Signed-off-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/cciss.c
drivers/block/cciss.h