[SCSI] aacraid: respond automatically to volumes added by config tool
authorRajashekhara, Mahesh <Mahesh_Rajashekhara@adaptec.com>
Mon, 10 May 2010 11:05:50 +0000 (04:05 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 17 May 2010 02:28:04 +0000 (22:28 -0400)
commit5ca05594097438f81337e53ad50c2d17ffc28238
treea5512d48f4bb991fd9005ad703ca80bafeeb5e04
parent15af974dcb22914f29aeb9a9cac5879b0dc3860e
[SCSI] aacraid: respond automatically to volumes added by config tool

Problem description:
--------------------

When the JBOD is created from the OS using Adaptec Storage Manager
utility device is not available under FDISK until a system restart is
done.

Solution:
---------

AIF handling: If there is a JBOD drive added to the system, identify
the old one with scsi_device_lookup() and remove it to enable a fresh
scsi_add_device(); else the new JBOD is not available until reboot.

Signed-off-by: Mahesh Rajashekhara <aacraid@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/aacraid/aacraid.h
drivers/scsi/aacraid/commsup.c