Patent ID: 8713278
Filing Date: 2014-04-29
Classification: G06F

Abstract:
1. A method for handling a stranded file open for DOOM utility requests in a NonStop Kernel (NSK) comprising: selecting a source file to be compressed in a disk by the DOOM utility, wherein the source file includes one or more non-contiguous disk file extents, and wherein each noncontiguous disk file extent includes multiple blocks; creating a temporary file to copy the source file by the DOOM utility; copying multiple blocks in a current non-contiguous disk file extent from the source file by transferring data to the temporary file as a function of a NSK net transfer data limit size by the DOOM utility; determining, for the stranded file open, whether all of the multiple blocks in the current non-contiguous disk file extent of the source file were copied to the disk, wherein the stranded file open is a source file that is left stranded when a current value stored in an offset field of a file control block (FCB) of the source file is not cleared due to a DOOM utility failure; if not, then storing a current file descriptor of the source file in an offset field of the temporary file; and setting a current value in the offset field of a source file control block of the source file for handling the stranded file open for the DOOM utility requests.