IP Library Patent Application 17231640
Patent Application
App. No. 17/231,640

DELETING SNAPSHOTS VIA COMPARING FILES AND DELETING COMMON EXTENTS

Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US None
App. No.
17/231,640
Abstract

The present disclosure is related to methods, systems, and machine-readable media for deleting snapshots. A deletion process can be performed responsive to receiving a request to delete a snapshot of a virtual computing instance (VCI) in a file system. The deletion process can include performing a first file comparison between the snapshot and a previous snapshot to determine first extents exclusive to the snapshot, performing a second file comparison between the snapshot and a subsequent snapshot to determine second extents exclusive to the snapshot, performing a third file comparison between the first extents and the second extents to determine common extents, wherein the common extents are common to the first extents and the second extents, and deleting the common extents from the file system.

Claims (38)

1 . A method, comprising:

receiving a request to delete a snapshot of a virtual computing instance (VCI) in a file system; and

performing a deletion process responsive to receiving the request, the deletion process comprising:

performing a first file comparison between the snapshot and a previous snapshot to determine first extents exclusive to the snapshot;

performing a second file comparison between the snapshot and a subsequent snapshot to determine second extents exclusive to the snapshot;

performing a third file comparison between the first extents and the second extents to determine common extents, wherein the common extents are common to the first extents and the second extents; and

deleting the common extents from the file system.

2 . The method of claim 1 , wherein the method includes placing a deletion task associated with deleting the snapshot in a deletion queue responsive to receiving the request.

3 . The method of claim 1 , wherein the method includes providing a notification of a deleted status of the snapshot before performing the deletion process.

4 . The method of claim 1 , wherein the method includes throttling the deletion process based on a quantity of concurrent deletion processes exceeding a quantity threshold.

5 . The method of claim 1 , wherein the method includes deleting nodes of a tree associated with the snapshot that have a reference count of 1.

6 . The method of claim 1 , wherein the method includes inserting a checkpoint during the deletion process.

7 . The method of claim 6 , wherein the method includes resuming the deletion process from the checkpoint during a system recovery following a system crash.

8 . A non-transitory machine-readable medium having instructions stored thereon which, when executed by a processor, cause the processor to:

receive a request to delete a snapshot of a virtual computing instance (VCI) in a file system; and

perform a deletion process responsive to receiving the request, wherein the instructions to perform the deletion process comprise instructions to:

perform a first file comparison between the snapshot and a previous snapshot to determine first extents exclusive to the snapshot;

perform a second file comparison between the snapshot and a subsequent snapshot to determine second extents exclusive to the snapshot;

perform a third file comparison between the first extents and the second extents to determine common extents, wherein the common extents are common to the first extents and the second extents; and

delete the common extents from the file system.

9 . The medium of claim 8 , including instructions to place a deletion task associated with deleting the snapshot in a deletion queue responsive to receiving the request.

10 . The medium of claim 8 , including instructions to provide a notification of a deleted status of the snapshot before performing the deletion process.

11 . The medium of claim 8 , including instructions to throttle the deletion process based on a quantity of concurrent deletion processes exceeding a quantity threshold.

12 . The medium of claim 8 , including instructions to delete nodes of a tree associated with the snapshot that have a reference count of 1.

13 . The medium of claim 8 , including instructions to insert a checkpoint during the deletion process.

14 . The medium of claim 13 , including instructions to resume the deletion process from the checkpoint during a system recovery following a system crash.

15 . A system, comprising:

a request engine configured to receive a request to delete a snapshot of a virtual computing instance (VCI) in a file system; and

a deletion engine configured to perform a deletion process responsive to receiving the request, the deletion process comprising:

performing a first file comparison between the snapshot and a previous snapshot to determine first extents exclusive to the snapshot;

performing a second file comparison between the snapshot and a subsequent snapshot to determine second extents exclusive to the snapshot;

performing a third file comparison between the first extents and the second extents to determine common extents, wherein the common extents are common to the first extents and the second extents; and

deleting the common extents from the file system.

16 . The system of claim 15 , wherein the request engine is configured to place a deletion task associated with deleting the snapshot in a deletion queue responsive to receiving the request.

17 . The system of claim 15 , wherein the deletion engine is configured to provide a notification of a deleted status of the snapshot before performing the deletion process.

18 . The system of claim 15 , wherein the deletion engine is configured to throttle the deletion process based on a quantity of concurrent deletion processes exceeding a quantity threshold.

19 . The system of claim 15 , wherein the deletion engine is configured to delete nodes of a tree associated with the snapshot that have a reference count of 1.

20 . The system of claim 15 , wherein the deletion engine is configured to insert a checkpoint during the deletion process.

Assignments (2)
CHANGE OF NAME Recorded Feb 27, 2024
From: VMWARE, INC.
To: VMWARE LLC
Reel/Frame 066692/0103 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 15, 2021
From: SINGH, PRANAY; WANG, WENGUANG; RASTOGI, NITIN
To: VMWARE, INC.
Reel/Frame 055933/0089 →