Patent ID: 8954408
Filing Date: 2015-02-10
Classification: G06F

Abstract:
1. A computer program product for managing access to a file, the computer program product comprising a non-transitory computer readable storage medium having computer readable program code embodied therein that executes to perform operations, the operations comprising: providing a lock to a first request, comprising a read or write request, to access the file; receiving a second write request while the first request maintains the lock; creating a temporary file associated with the file for the second write request; writing the data of the second write request to the temporary file while the lock is held by the first request; in response to completing the first request, granting the lock to the second write request to write the data of the second write request in the temporary file to the file; and in response to determining that the second write request continues to write to the temporary file after the data in the temporary file is written to the file, providing the lock to the second write request and continuing the writing of the data of the second write request to the file until completion.