# US 2021/0286766 A1 · Validating storage virtualization metadata supporting redirection

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0286766 A1
- Document ID: US20210286766A1
- Status: Published application
- Kind: A1
- Application number: 16/819,841
- Filed: 2020-03-16
- Published: 2021-09-16
- Earliest claimed: 2020-03-16
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Xiangping Chen; Uri Shabi; Ronen Gazit
- Web page: https://patentgrep.com/patent/US20210286766A1

## CPC

- G06F 16/1734: {Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/0873: Mapping of cache memory to specific storage devices or parts thereof
- G06F 16/1748: {De-duplication implemented within the file system, e.g. based on file segments (de-duplication techniques in storage systems for the management of data blocks G06F3/0641)}
- G06F 16/1824: {implemented using Network-attached Storage [NAS] architecture (distributed or networked storage systems G06F3/067; protocols for distributed storage of data in a network H04L67/1097)}
- G06F 2212/7207: management of metadata or control data
- G06F 2212/7209: Validity control, e.g. using flags, time stamps or sequence numbers
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A technique for validating metadata includes creating log entries for virtualization structures pointed to by mapping pointers in a mapping tree and processing the log entries in multiple passes. A current pass validates a current level of redirection and creates new log entries to be processed during a next pass. The new log entries represent a next level of redirection, and as many next passes are processed in sequence as there are next levels of redirection.

## Claims

### Claim 1

A method of validating storage virtualization metadata, the method comprising:
while scanning a plurality of mapping pointers in a metadata mapping tree of a storage system, creating a first set of log entries for VLBEs (virtual block elements) pointed to by the plurality of mapping pointers;
during a first processing pass, (i) validating a set of metadata of the VLBEs of the first set of log entries and (ii) creating a second set of log entries, the second set of log entries created for VLBEs of the first set of log entries which are themselves sources or targets of redirection of other VLBEs of the storage system; and
during a second processing pass, validating one or more metadata elements of the VLBEs of the second set of log entries.

### Claim 2 (depends on 1)

The method of claim 1, further comprising, during the second processing pass, creating a third set of log entries, the third set of log entries created for VLBEs of the second set of log entries which are themselves redirect sources or redirect targets.

### Claim 3 (depends on 2)

The method of claim 2, further comprising, during a third processing pass, validating one or more metadata elements of the VLBEs of the third set of log entries.

### Claim 4 (depends on 2)

The method of claim 2, further comprising performing an additional processing pass for each additional level of redirection among VLBs of the storage system.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first set of log entries includes log entries created for VLBEs that are sources of defragmentation, and wherein validating said one or more metadata elements during the second pass includes confirming that a defragmentation source points to a defragmentation target.

### Claim 6 (depends on 1)

The method of claim 1, wherein the first set of log entries includes log entries created for VLBEs that are targets of defragmentation, and wherein validating said one or more metadata elements during the second pass includes confirming that a defragmentation target is pointed to by a defragmentation source.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first set of log entries includes log entries created for VLBEs that are sources of deduplication, and wherein validating said one or more metadata elements during the second pass includes confirming that a deduplication source points to a deduplication target.

### Claim 8 (depends on 1)

The method of claim 1, wherein the first set of log entries includes log entries created for VLBEs that are targets of deduplication, and wherein validating said one or more metadata elements during the second pass includes confirming that a deduplication target is pointed to by a deduplication source.

### Claim 9 (depends on 1)

The method of claim 1, wherein validating said one or more metadata elements during the second pass includes confirming that reference counts stored in association with the VLBEs of the second set of log entries match numbers of VLBEs that point to the VLBEs of the second set of log entries.

### Claim 10

A computerized apparatus, comprising control circuitry that includes a set of processing units coupled to memory, the control circuitry constructed and arranged to:
while scanning a plurality of mapping pointers in a metadata mapping tree of a storage system, create a first set of log entries for VLBEs (virtual block elements) pointed to by the plurality of mapping pointers;
during a first processing pass, (i) validate a set of metadata of the VLBEs of the first set of log entries and (ii) create a second set of log entries, the second set of log entries created for VLBEs of the first set of log entries which are themselves sources or targets of redirection of other VLBEs of the storage system; and
during a second processing pass, validate one or more metadata elements of the VLBEs of the second set of log entries.

### Claim 11 (depends on 10)

The computerized apparatus of claim 10, wherein the control circuitry is further constructed and arranged to, during the second processing pass, create a third set of log entries, the third set of log entries created for VLBEs of the second set of log entries which are themselves redirect sources or redirect targets.

### Claim 12

A computer program product including a set of non-transitory, computer-readable media having instructions which, when executed by control circuitry of a computerized apparatus, cause the computerized apparatus to perform a method of validating storage virtualization metadata, the method comprising:
while scanning a plurality of mapping pointers in a metadata mapping tree of a storage system, creating a first set of log entries for VLBEs (virtual block elements) pointed to by the plurality of mapping pointers;
during a first processing pass, (i) validating a set of metadata of the VLBEs of the first set of log entries and (ii) creating a second set of log entries, the second set of log entries created for VLBEs of the first set of log entries which are themselves sources or targets of redirection of other VLBEs of the storage system; and
during a second processing pass, validating one or more metadata elements of the VLBEs of the second set of log entries.

### Claim 13 (depends on 12)

The computer program product of claim 12, wherein the method further comprises, during the second processing pass, creating a third set of log entries, the third set of log entries created for VLBEs of the second set of log entries which are themselves redirect sources or redirect targets.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein the method further comprises, during a third processing pass, validating one or more metadata elements of the VLBEs of the third set of log entries.

### Claim 15 (depends on 13)

The computer program product of claim 13, further comprising performing an additional processing pass for each additional level of redirection among VLBs of the storage system.

### Claim 16 (depends on 12)

The computer program product of claim 12, wherein the first set of log entries includes log entries created for VLBEs that are sources of defragmentation, and wherein validating said one or more metadata elements during the second pass includes confirming that a defragmentation source points to a defragmentation target.

### Claim 17 (depends on 12)

The computer program product of claim 12, wherein the first set of log entries includes log entries created for VLBEs that are targets of defragmentation, and wherein validating said one or more metadata elements during the second pass includes confirming that a defragmentation target is pointed to by a defragmentation source.

### Claim 18 (depends on 12)

The computer program product of claim 12, wherein the first set of log entries includes log entries created for VLBEs that are sources of deduplication, and wherein validating said one or more metadata elements during the second pass includes confirming that a deduplication source points to a deduplication target.

### Claim 19 (depends on 12)

The computer program product of claim 12, wherein the first set of log entries includes log entries created for VLBEs that are targets of deduplication, and wherein validating said one or more metadata elements during the second pass includes confirming that a deduplication target is pointed to by a deduplication source.

### Claim 20 (depends on 12)

The computer program product of claim 12, wherein validating said one or more metadata elements during the second pass includes confirming that reference counts stored in association with the VLBEs of the second set of log entries match numbers of VLBEs that point to the VLBEs of the second set of log entries.
