×

ColoredLock synchronization object, allowing flow specific policy of lock canceling

  • US 10,331,498 B1
  • Filed: 04/26/2017
  • Issued: 06/25/2019
  • Est. Priority Date: 04/26/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method of allowing a flow specific policy of lock canceling, the method comprising:

  • receiving a request for a lock object, the request received at a storage system from a calling thread, the request including a color attribute that indicates a type of flow associated with the calling thread;

    passing the request with the color attribute to an extended lock object application programming interface (API) at the storage system; and

    performing, at the storage system, selective termination of requests that are waiting on the lock object, the selective termination based on the color attribute, and the requests including the request for the lock object;

    wherein the extended lock object API includes calls comprising;

    a lock call including the lock object and the color attribute;

    an unlock call including the lock object;

    a cancel lock by color call including the lock object and a colors mask attribute; and

    a clear color mask call including the lock object.

View all claims
  • 7 Assignments
Timeline View
Assignment View
    ×
    ×