Patent ID: 9563636
Date: 2017-02-07
CPC Classifications: G06F

Claim:
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; controlling the second write request to write to the temporary file while the lock is held by the first request; returning write complete to the second write request in response to completing the writing of data for the second write request to the temporary file, wherein the write complete to the second write request is returned out of a write order in which the first request and the second write request were received; and in response to completing the first request, granting the lock to the second write request to write the data in the temporary file to the file, wherein data in the temporary file is applied to the file according to the write order in which the first request and the second write request were received.