US 11,893,252 B1
Coalescing logged operations
Svetlana Kronrod, Concord, MA (US); Vladimir Shveidel, Pardes-Hana (IL); David Bernard, Westford, MA (US); and Vamsi K. Vankamamidi, Hopkinton, MA (US)
Assigned to Dell Products L.P., Hopkinton, MA (US)
Filed by Dell Products L.P., Hopkinton, MA (US)
Filed on Jul. 15, 2022, as Appl. No. 17/865,713.
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0631 (2013.01) [G06F 3/067 (2013.01); G06F 3/0656 (2013.01); G06F 3/0664 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method comprising:
receiving a write I/O that writes first data to a target logical address; and
responsive to receiving the write I/O, performing first processing to persistently record the write I/O in a log including:
allocating storage for a first page buffer (PB) of the log, wherein the first PB is located at one or more offsets in a PB pool of non-volatile storage of the log;
enqueuing a first request to an aggregation queue, where the first request is a request to persistently store the first data to the first PB of the log, wherein the first request includes information identifying the one or more offsets of the PB pool of non-volatile storage which correspond to the first PB; and
responsive to said enqueuing, integrating the first request into the aggregation queue, wherein said integrating includes:
determining whether a first contiguous segment of the one or more offsets of the request is adjacent to a second contiguous segment of offsets of the PB pool, where the second contiguous segment is an existing contiguous segment of the aggregation queue; and
responsive to determining the first contiguous segment is adjacent to the second contiguous segment, merging the first contiguous segment and the second contiguous segment and generating an aggregated continuous segment.