]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] ipr: implement shutdown changes and remove obsolete write cache parameter
authorWayne Boyer <wayneb@linux.vnet.ibm.com>
Fri, 19 Feb 2010 21:24:21 +0000 (13:24 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 3 Mar 2010 10:35:02 +0000 (16:05 +0530)
commit5ed97308862b8c80fec6de667c64a0d1032e3259
treef0830554601048c8da0deccb7d33ac745201d982
parent1d798b78cea308037fc89826f35c0a73b47b6a8b
[SCSI] ipr: implement shutdown changes and remove obsolete write cache parameter

This patch adds a reboot notifier that will issue a shutdown prepare command
to all adapters.  This helps to prevent a problem where the primary adapter can
get shut down before the secondary adapter and cause the secondary adapter to
fail over and log and error.
This patch also removes the "enable_cache" paramater as it is obsolete.  Write
cache for an adapter is now controlled from the iprconfig utility.

Signed-off-by: Wayne Boyer <wayneb@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/ipr.c
drivers/scsi/ipr.h