-
公开(公告)号:US12141063B2
公开(公告)日:2024-11-12
申请号:US17929197
申请日:2022-09-01
Applicant: VMware LLC
Inventor: Jiaqi Zuo , Junlong Gao , Wenguang Wang , Eric Knauft , Hardik Singh Negi
IPC: G06F12/0804 , G06F12/0882
Abstract: A method for efficient write-back for journal truncation is provided. A method includes maintaining a journal in a memory of a computing system including a plurality of records. Each record indicates a transaction associated with one or more pages in an ordered data structure and maintaining a dirty list including an entry for each page indicated by a record in the journal. Each entry in the dirty list includes a respective first log sequence number (LSN) associated with a least recent record of the plurality of records that indicates the page and a respective second LSN associated with a most recent record of the plurality of records that indicates the page. The method includes determining to truncate the journal. The method includes identifying one or more records, of the plurality of records, from the journal to write back to a disk, where the identifying is based on the dirty list.
-
公开(公告)号:US11960450B2
公开(公告)日:2024-04-16
申请号:US16999994
申请日:2020-08-21
Applicant: VMware LLC
Inventor: Wenguang Wang , Ilia Langouev , Vamsi Gunturu , Junlong Gao
IPC: G06F16/174 , G06F9/455 , G06F16/11 , G06F16/188
CPC classification number: G06F16/1752 , G06F9/45558 , G06F16/116 , G06F16/188 , G06F2009/45583
Abstract: The efficiency of segment cleaning for a log-structured file system (LFS) is enhanced at least by storing additional information in a segment usage table (SUT). Live blocks (representing portions of stored objects) in an LFS are determined based at least on the SUT. Chunk identifiers associated with the live blocks are read. The live blocks are coalesced at least by writing at least a portion of the live blocks into at least one new segment. A blind update of at least a portion of the chunk identifiers in a chunk map is performed to indicate the new segment. The blind update includes writing to the chunk map without reading from the chunk map. In some examples, the objects comprise virtual machine disks (VMDKs) and the SUT changes between a list format and a bitmap format, to minimize size.
-
公开(公告)号:US12131021B2
公开(公告)日:2024-10-29
申请号:US17929204
申请日:2022-09-01
Applicant: VMware LLC
Inventor: Wenguang Wang , Jiaqi Zuo , Hardik Singh Negi , Eric Knauft , Junlong Gao
CPC classification number: G06F3/0604 , G06F3/0655 , G06F3/0673 , G06F16/2246 , G06F11/1446
Abstract: A method for efficient journal truncation is provided. A method for journal truncation includes maintaining a journal in a memory of a computing system including a plurality of records. Each record indicates a transaction in an ordered data structure. The method includes maintaining a truncation queue in the memory including one or more entries. Each entry in the truncation queue includes a physical on-disk offset associated with a different record of the plurality of records. The method includes determining to truncate the journal and truncating records, of the plurality of records, from the journal starting from a beginning record in the journal up to the record with the physical on-disk offset associated a least recent entry of the one or more entries in the truncation queue, where the truncating includes removing the records from the memory.
-
公开(公告)号:US12111795B2
公开(公告)日:2024-10-08
申请号:US17357044
申请日:2021-06-24
Applicant: VMware LLC
Inventor: Abhay Kumar Jain , Sriram Patil , Junlong Gao , Wenguang Wang
IPC: G06F7/00 , G06F16/16 , G06F16/17 , G06F16/174 , G06F16/178 , G06F16/182
CPC classification number: G06F16/1844 , G06F16/164 , G06F16/1734 , G06F16/1756 , G06F16/178
Abstract: A method for managing replication of cloned files is provided. Embodiments include determining, at a source system, that a first file has been cloned to create a second file. Embodiments include sending, from the source system to a replica system, an address of the first extent and an indication that a status of the first extent has changed from non-cloned to cloned. Embodiments include changing, at the replica system, a status of a second extent associated with a replica of the first file on the replica system from non-cloned to cloned and creating a mapping of the address of the first extent to an address of the second extent on the replica system. Embodiments include creating, at the replica system, a replica of the second file comprising a reference to the address of the second extent on the replica system.
-
公开(公告)号:US12056054B2
公开(公告)日:2024-08-06
申请号:US17900642
申请日:2022-08-31
Applicant: VMware LLC
Inventor: Wenguang Wang , Yanxing Pan , Junlong Gao , Mounesh Badiger , Eric Knauft , Vamsidhar Gunturu
IPC: G06F12/08 , G06F12/0864
CPC classification number: G06F12/0864 , G06F2212/1016 , G06F2212/604
Abstract: The disclosure describes growing a data cache using a background hash bucket growth process. A first memory portion is allocated to the data buffer of the data cache and a second memory portion is allocated to the metadata buffer of the data cache based on the cache growth instruction. The quantity of hash buckets in the hash bucket buffer is increased and the background hash bucket growth process is initiated, wherein the process is configured to rehash hash bucket entries of the hash bucket buffer in the increased quantity of hash buckets. A data entry is stored in the data buffer using the allocated first memory portion of the data cache and metadata associated with the data entry is stored using the allocated second memory portion of the metadata buffer, wherein a hash bucket entry associated with the data entry is stored in the increased quantity of hash buckets.
-
-
-
-