US 12,229,053 B1
Managing locks in a transactional cache
Jason Raff, Bedford, NH (US); Vikram Prabhakar, Apex, NC (US); and Socheavy Heng, Framingham, MA (US)
Assigned to Dell Products L.P., Round Rock, TX (US)
Filed by Dell Products L.P., Round Rock, TX (US)
Filed on Jul. 28, 2023, as Appl. No. 18/227,439.
Int. Cl. G06F 12/00 (2006.01); G06F 12/0882 (2016.01); G06F 12/14 (2006.01)
CPC G06F 12/0882 (2013.01) [G06F 12/1466 (2013.01)] 19 Claims
OG exemplary drawing
 
1. A method of managing locks in a transactional cache, comprising:
opening, in the transactional cache, (i) a first transaction that identifies a first plurality of pages to be accessed and (ii) a second transaction that identifies a second plurality of pages to be accessed, the first plurality of pages having at least one page in common with the second plurality of pages;
after opening the first transaction and the second transaction, selecting a target page that is highest in a predefined page ordering out of the at least one page in common, the second plurality of pages including a lower-ordered page that is lower in the predefined page ordering than the target page; and
while the first transaction is open, (i) inserting a first lock request of the second transaction into a queue of the target page and (ii) preventing insertion of a second lock request of the second transaction into a queue of the lower-ordered page.