Patch Name: PHKL_29115 Patch Description: s700_800 11.11 JFS Direct I/O cumulative patch Creation Date: 03/06/06 Post Date: 03/08/26 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_29115: OTHER Performance degradation of direct I/O on any unaligned requests. PHKL_26552: CORRUPTION Category Tags: defect_repair general_release critical corruption Path Name: /hp-ux_patches/s700_800/11.X/PHKL_29115 Symptoms: PHKL_29115: ( SR:8606303178 CR:JAGae66534 ) When using JFS3.3, direct I/O performance may be negatively impacted if the read or write requests do not end on a disk block boundary (1024 byte boundary). PHKL_26552: ( SR:8606245100 CR:JAGae11577 ) Data files will be corrupted by NULL characters. This only occurs writing files where the filesystem was mounted using the 'direct mount' option of JFS. Defect Description: PHKL_29115: ( SR:8606303178 CR:JAGae66534 ) JFS3.3 incorrectly prevents direct I/O from handling any requests that do not end on a disk block boundary. This results in standard buffered I/O being performed. Resolution: Modified JFS3.3 routines, so that the end of I/O request is no longer checked to see if it is aligned on a disk block boundary. PHKL_26552: ( SR:8606245100 CR:JAGae11577 ) When doing I/O , with multiple uio_iov's in the uio structure, data corruption (zeroing of data) will occur. The defect occurred because the code in a VxFS read-write I/O routine was not keeping track of end-of-file properly. Resolution: Change code in the VxFS routine to manage end-of-file properly. Enhancement: No SR: 8606245100 8606303178 Patch Files: JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libvxfs.a(vx_dio.o) JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libvxfs.a(vx_dio.o) what(1) Output: JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libvxfs.a(vx_dio.o): vx_dio.c $Date: 2003/05/13 21:39:52 $Revision: r11.1 1/2 PATCH_11.11 (PHKL_29115) JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libvxfs.a(vx_dio.o): vx_dio.c $Date: 2003/05/13 21:39:52 $Revision: r11.1 1/2 PATCH_11.11 (PHKL_29115) cksum(1) Output: JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: 3705074087 9724 /usr/conf/lib/libvxfs.a(vx_dio.o) JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: 1460323388 17216 /usr/conf/lib/libvxfs.a(vx_dio.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_26552 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_29115 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_29115.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_29115. 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_29115.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_29115.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_29115.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None