Patch Name: PHKL_27947 Patch Description: s700_800 11.00 JFS 3.3 Sticky-bit;read ahead;vx33_maxlink Creation Date: 03/05/23 Post Date: 03/06/04 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: JFS 3.3; Filesets: JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_32,v=HP JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: No Category Tags: defect_repair enhancement general_release Path Name: /hp-ux_patches/s700_800/11.X/PHKL_27947 Symptoms: PHKL_27947: ( SR:8606266404 CR:JAGae30652 ) The maximum number of subdirectories in a directory is limited to 32765. PHKL_22414: ( SR: 8606158981 DTS: JAGad28310 ) VxFS 3.3 read ahead feature could cause performance degradation on some systems. PHKL_24216: (SR: 8606197325 CR: JAGad66518) VxFS directory sticky-bit not functioning according to specification and man pages for version 3.3. Defect Description: PHKL_27947: ( SR:8606266404 CR:JAGae30652 ) The maximum reference count of a directory is limited to LINK_MAX, currently defined as 32767. Resolution: A new VxFS 3.3 tunable vx33_maxlink has been added. This allows the above mentioned limit to be changed to any value between LINK_MAX and INT_MAX (See limits(5)). However the tunable is limited to 65534. When tuned to values greater than this, the operating system will reset it to 65534. Note that some older applications which are using the st_nlink field of the stat structure as type "short" instead of "unsigned short" may see negative values on the link count of directories when tuning vx33_maxlink above 32767. PHKL_22414: ( SR: 8606158981 DTS: JAGad28310 ) Currently VxFS 3.3 read ahead feature could not be disabled. Resolution: Add a tunable to enable/disable VxFS 3.3 read ahead feature. This could be enabled by setting vx_fancyra_enable to 1 in /stand/system file and could be disabled by setting it to 0. PHKL_24216: (SR: 8606197325 CR: JAGad66518) VxFS directory sticky-bit not functioning according to specification and man pages. Resolution: Make VxFS directory sticky-bit functionality conform to specification and man pages. Enhancement: Yes PHKL_27947: New tunable vx33_maxlink added. Additional enhancements were delivered in a patch this one has superseded. Please review the Defect Description text for more information. SR: 8606158981 8606197325 8606266404 Patch Files: JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libvxfs.a(vx33_config.o) /usr/conf/lib/libvxfs.a(vx33_dirop.o) /usr/conf/master.d/vxfs33 /usr/conf/space.h.d/vxfs33.h JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libvxfs.a(vx33_config.o) /usr/conf/lib/libvxfs.a(vx33_dirop.o) /usr/conf/master.d/vxfs33 /usr/conf/space.h.d/vxfs33.h what(1) Output: JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libvxfs.a(vx33_config.o): vx33_config.c $Date: 2002/09/24 07:01:08 $Revision: r11ros/5 PATCH_11.00 (PHKL_27947) /usr/conf/lib/libvxfs.a(vx33_dirop.o): vx33_dirop.c $Date: 2002/09/24 07:01:36 $Revision: r 11ros/3 PATCH_11.00 (PHKL_27947) /usr/conf/master.d/vxfs33: vxfs33 $Date: 2002/09/24 06:59:20 $Revision: r11ros/ 3 PATCH_11.00 (PHKL_27947) /usr/conf/space.h.d/vxfs33.h: vxfs33.h $Date: 2002/09/24 07:00:37 $Revision: r11ro s/4 PATCH_11.00 (PHKL_27947) JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libvxfs.a(vx33_config.o): vx33_config.c $Date: 2002/09/24 07:01:08 $Revision: r11ros/5 PATCH_11.00 (PHKL_27947) /usr/conf/lib/libvxfs.a(vx33_dirop.o): vx33_dirop.c $Date: 2002/09/24 07:01:36 $Revision: r 11ros/3 PATCH_11.00 (PHKL_27947) /usr/conf/master.d/vxfs33: vxfs33 $Date: 2002/09/24 06:59:43 $Revision: r11ros/ 3 PATCH_11.00 (PHKL_27947) /usr/conf/space.h.d/vxfs33.h: vxfs33.h $Date: 2002/09/24 07:00:09 $Revision: r11ro s/4 PATCH_11.00 (PHKL_27947) cksum(1) Output: JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_32,v=HP: 3222997076 6876 /usr/conf/lib/libvxfs.a(vx33_config.o) 2865603557 9068 /usr/conf/lib/libvxfs.a(vx33_dirop.o) 2920033208 4656 /usr/conf/master.d/vxfs33 1423530548 595 /usr/conf/space.h.d/vxfs33.h JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_64,v=HP: 3041248952 12448 /usr/conf/lib/libvxfs.a(vx33_config.o) 2684845822 15696 /usr/conf/lib/libvxfs.a(vx33_dirop.o) 1283191535 4656 /usr/conf/master.d/vxfs33 794247293 595 /usr/conf/space.h.d/vxfs33.h Patch Conflicts: None Patch Dependencies: s700: 11.00: PHKL_18543 s800: 11.00: PHKL_18543 Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_24216 PHKL_22414 Equivalent Patches: None Patch Package Size: 60 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_27947 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_27947.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_27947. 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_27947.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_27947.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_27947.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: After the patch is installed the vx33_maxlink tunable can be set in /stand/system. At that time the kernel needs to be rebuilt and the system rebooted.