Micro-batching metadata updates to reduce transaction journal overhead during snapshot deletion

    公开(公告)号:US11797214B2

    公开(公告)日:2023-10-24

    申请号:US17646993

    申请日:2022-01-04

    Applicant: VMware, Inc.

    CPC classification number: G06F3/0652 G06F3/064 G06F3/0604 G06F3/0679

    Abstract: A method for deleting one or more snapshots using micro-batch processing is provided. The method includes receiving a request to delete the one or more snapshots, identifying one or more middle map extents exclusively owned by the one or more snapshots requested to be deleted, wherein metadata for the one or more snapshots is stored in one or more logical maps having logical map extents mapping logical block addresses (LBAs) to middle block addresses (MBAs) and a middle map having middle map extents mapping MBAs to physical block addresses (PBAs) of physical locations where data blocks are written, adding MBAs of the identified one or more middle map extents in a batch, determining a first micro-batch including a first subset of the MBAs in the batch, the first subset of MBAs being MBAs less than a first upper bound MBA, and using a first transaction to delete the middle map extents corresponding to the first subset of MBAs included in the first micro-batch.

Patent Agency Ranking