Patch Name: PHKL_24187

Patch Description: s700_800 11.00 ioscan performance gain for SCSI Subsystem

Creation Date: 01/05/22

Post Date: 01/06/11

Hardware Platforms - OS Releases:
	s700: 11.00
	s800: 11.00

Products: N/A

Filesets:
	OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP
	OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP

Automatic Reboot?: Yes

Status: General Release

Critical:
	Yes
	PHKL_24187: OTHER
		Performances: for large configurations
		(expecially Fibre Channel) the boot time and
		ioscan command time are not acceptable.

Category Tags:
	defect_repair general_release critical

Path Name: /hp-ux_patches/s700_800/11.X/PHKL_24187

Symptoms:
	PHKL_24187:
	( SR: 8606156549 CR: JAGad25884 )
	Code changes to support sparse lun probing created
	unnecessary target nodes for Fiber Channel array devices.

	( SR: 8606170162 CR: JAGad39426 )
	The system boot time as well as ioscan command
	(without -k option) time is long, especially in a large
	Fibre Channel Array configuration.

	Also, from PHKL_21607 and superseding patches,
	a fix to detect non-sequential LUNs in an array increased
	the boot and ioscan command (without -k option) time
	considerably.

Defect Description:
	PHKL_24187:
	( SR: 8606156549 CR: JAGad25884 )
	Fiber Channel target responds to inquiry whether or not
	there is a LUN associated with it. This resulted in SCSI
	services detecting a target and allowing the creation
	of a target node.

	Resolution:
	SCSI services look for a valid LUN associated with a target
	and allow creation of the target only if there is a LUN
	associated with it.

	( SR: 8606170162 CR: JAGad39426 )
	While probing for each LUN, the corresponding bus is
	also opened and closed. The bus open takes a long time,
	especially in large Fibre Channel Array configurations.
	With PHKL_21607 and superseding patches, all the
	LUNs (0-7) are now probed on each target whether or not
	LUN 0 is present. This increases boot and ioscan command
	(without -k option) times.

	Resolution:
	Keep the bus open until all the LUNs corresponding to all
	the targets on that bus are probed.

SR:
	8606156549 8606170162

Patch Files:
	
	OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP:
	/usr/conf/lib/libhp-ux.a(wsio_probe.o)

	OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP:
	/usr/conf/lib/libhp-ux.a(wsio_probe.o)

what(1) Output:
	
	OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP:
	/usr/conf/lib/libhp-ux.a(wsio_probe.o):
		wsio_probe.c $Date: 2001/05/22 07:59:13 $Revision: r
			11ros/2 PATCH_11.00 (PHKL_24187)

	OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP:
	/usr/conf/lib/libhp-ux.a(wsio_probe.o):
		wsio_probe.c $Date: 2001/05/22 07:59:13 $Revision: r
			11ros/2 PATCH_11.00 (PHKL_24187)

cksum(1) Output:
	
	OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP:
	165205034 6072 /usr/conf/lib/libhp-ux.a(wsio_probe.o)

	OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP:
	3360666899 14664 /usr/conf/lib/libhp-ux.a(wsio_probe.o)

Patch Conflicts: None

Patch Dependencies: None

Hardware Dependencies: None

Other Dependencies: None

Supersedes: None

Equivalent Patches: None

Patch Package Size: 40 KBytes

Installation Instructions:
	Please review all instructions and the Hewlett-Packard
	SupportLine User Guide or your Hewlett-Packard support terms
	and conditions for precautions, scope of license,
	restrictions, and, limitation of liability and warranties,
	before installing this patch.
	------------------------------------------------------------
	1. Back up your system before installing a patch.

	2. Login as root.

	3. Copy the patch to the /tmp directory.

	4. Move to the /tmp directory and unshar the patch:

		cd /tmp
		sh PHKL_24187

	5. Run swinstall to install the patch:

		swinstall -x autoreboot=true -x patch_match_target=true \
			  -s /tmp/PHKL_24187.depot

	By default swinstall will archive the original software in 
	/var/adm/sw/save/PHKL_24187.  If you do not wish to retain a
	copy of the original software, include the patch_save_files
	option in the swinstall command above:

		-x patch_save_files=false

	WARNING: If patch_save_files is false when a patch is installed,
		 the patch cannot be deinstalled.  Please be careful
		 when using this feature.

	For future reference, the contents of the PHKL_24187.text file is 
	available in the product readme:

		swlist -l product -a readme -d @ /tmp/PHKL_24187.depot

	To put this patch on a magnetic tape and install from the
	tape drive, use the command:

		dd if=/tmp/PHKL_24187.depot of=/dev/rmt/0m bs=2k

Special Installation Instructions: None

