×

Byte range locking in a distributed environment

  • US 5,956,712 A
  • Filed: 06/07/1995
  • Issued: 09/21/1999
  • Est. Priority Date: 06/07/1995
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of providing staged object locks in response to the level of lock complexity and system resource limitation in a distributed computer processing system in which a server that operates in accordance with a server environment is connected to a direct access storage device containing data objects, and a plurality of client processes that operate in accordance with respective client environments, at least one of which has access to the data objects, and that generate requests to the server for locks that cover data object portions comprising respective data objects in their entirety or portions of the data objects, the method comprising the steps of:

  • receiving a lock request at the server from a first client process for an object lock in one of the data objects;

    determining if any other client process has requested an object lock in the same data object;

    responding to the lock request of the first client process if it is determined that no other client process has requested a lock for the same data object by granting the requested lock to the first client process and recording the lock locally in the client environment of the first client process;

    responding to the lock request of the first client process, if it is determined that at least a second client process has locally recorded in its environment a lock for the same data object, by migrating any locks recorded in the respective client environments for an object portion within the same data object to the server environment, wherein the migrating locks for either the respective data objects in their entirety or portions of the data objects is effectuated even when client and server lock managers are different, placing all lock requests for portions of the same data object in contention in the server, and determining a queue order in which the requested locks will be granted to the requesting client processes.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×