×

Method and computer system for sharing objects

  • US 10,657,105 B2
  • Filed: 10/30/2014
  • Issued: 05/19/2020
  • Est. Priority Date: 10/30/2014
  • Status: Active Grant
First Claim
Patent Images

1. A computer system for sharing objects including at least directories, the computer system comprising:

  • multiple front-end nodes that are coupled to clients; and

    a back-end node being configured to provide a namespace shared by the multiple front-end nodes,a first front-end node that is any one of the multiple front-end nodes, being configured to manage local-lock counts for each of directories managed by the first front-end node, the local-lock count being the number of locks taken by operations to the objects including the directory and sub-objects thereof,the first front-end node being configured to, every time an update request is received for processing a target object from a client that is coupled to the first front-end node, request the back-end node to lock a parent directory of the target object and increment the local-lock count for the parent directory when the parent directory has not been locked by the back-end node,the first front-end node being configured to send a response of the received update request to the client regardless of whether or not the parent directory has been unlocked by the back-end node, andthe first front-end node being configured to, when the local-lock count of the parent directory is zero, request the back-end node to unlock the parent directory,wherein the first front-end node is configured to migrate not only the processed target object but also the parent directory thereof to the back-end node, and the first front-end node is configured not to migrate the parent directory of the processed target object to the back-end node when the local-lock count of the parent directory of the processed target object has not become zero, and the first front-end node is configured to migrate the parent directory of the processed target object to the back-end node when the local-lock count of the parent directory of the processed target object has become zero,wherein the first front-end node is configured to, when completing migration of the processed target object to the back-end node, decrement the local-lock counts of the processed target object and the parent directory thereof, andwherein the first front-end node is configured to, when at least one of the local-lock counts of the processed target object and the parent directory has become zero, request the back-end node to unlock the at least one of the processed target object and the parent directory whose local-lock count has become zero.

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