# US 2016/0253376 A1 · Updating Object Attributes in a Lock-Coupled Namespace Traversal

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

- Number: US 2016/0253376 A1
- Document ID: US20160253376A1
- Status: Published application
- Kind: A1
- Application number: 15/151,570
- Filed: 2016-05-11
- Published: 2016-09-01
- Earliest claimed: 2013-06-07
- Assignees: Dell Products L.P.
- Applicants: Dell Products, LP
- Inventors: William Edward Snaman, JR.; Saikrishnan Krishnamurthy; Mitchell Condylis
- Web page: https://patentgrep.com/patent/US20160253376A1

## CPC

- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F 16/128: {Details of file system snapshots on the file-level, e.g. snapshot creation, administration, deletion (error detection or correction of the data by redundancy in operations or in hardware G06F11/14, G06F11/16)}
- G06F 16/1774: {Locking methods, e.g. locking methods for file systems allowing shared and concurrent access to files}
- G06F 16/2246: {Trees, e.g. B+trees}
- G06F 16/235: {Update request formulation}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A deferred mechanism of rolling attribute changes to objects at transaction commit time is described. To support rolling updates, attributes are categorized into three types—increment, decrement or replace. Since transactions are committed in order, the update process uses a notification list of dependent transactions to propagate attribute changes as a function of attribute category or type. Shadow based file-systems (with or without object versioning) realize efficiency gains by employing the deferred mechanism.

## Claims

### Claim 1

A file system, comprising:
a storage array structured in associated memory of said file system; and
at least one processor operatively coupled to the storage array, the at least one processor implemented as:
an object component configured to maintain file objects of said file system in the storage array, wherein each file object having file system attributes;
a file system component configured to create shadow instances of the file system attributes of each maintained file object; and
a transaction component configured to manage changes to the shadow instances of the file system attributes, the managing generating a list of one or more ordered transactions to propagate rolling updates of a changed shadow instance to a respective maintained file object, wherein rolling updates propagated through one ordered transaction is automatically added to a next ordered transaction.

### Claim 2 (depends on 1)

The file system of claim 1 further comprising an object attribute engine that manages the object component, the file system component, and the transaction component.

### Claim 3 (depends on 1)

The file system of claim 1 wherein the storage array comprises a persistent disk.

### Claim 4 (depends on 1)

The file system of claim 1, wherein the file system component is further configured to determine an attribute category for each file system attribute, and the transaction component is further configured to perform the rolling updates of a changed shadow instance as a function of a respective determined attribute category.

### Claim 5 (depends on 4)

The file system of claim 4, wherein a determined attribute category is associated with a physical or logical size, and wherein the physical size includes an increment and decrement operation as an attribute type and the logical size includes a replace operation as an attribute type.

### Claim 6 (depends on 1)

The file system of claim 1, wherein said file system comprises at least one of: a B−tree structure and a B+tree structure.

### Claim 7 (depends on 1)

The file system of claim 1, wherein the transaction component is further configured to maintain a transaction data structure for each transaction of the list of one or more ordered transactions.

### Claim 8 (depends on 7)

The file system of claim 7, wherein a maintained transaction data structure includes one or more of: a deferred update entry, a deferred update queue, and a dirty buffer queue.

### Claim 9 (depends on 8)

The file system of claim 8, wherein, in response to receiving changes to a shadow instance of a file system attribute of a given file object, the transaction component is further configured to:
create a transaction data structure;
add an extent associated with the given file object to the dirty buffer queue of the created transaction data structure;
store the received changes to the shadow instance in the deferred update entry of the created transaction data structure, wherein the storing further includes storing a pointer to the deferred update entry at the given file object; and
when the storing of the received changes to the shadow instance are complete, roll the stored received changes from the deferred update entry into the dirty buffer queue to be committed to the storage array.

### Claim 10 (depends on 9)

The file system of claim 9, wherein if the list contains an earlier ordered transaction, the transaction component is further configured to:
add the transaction data structure of the received changes to the deferred update queue of the transaction data structure of the earlier ordered transaction; and
when committing the earlier ordered transaction is complete, roll committed changes of the earlier ordered transaction into the deferred update entry of the transaction data structure of the received changes.

### Claim 11 (depends on 1)

The file system of claim 1, wherein if a given file object comprises multiple versions, the transaction component is further configured to:
create shadow instances of file system attributes of each file object version; and
propagate rolling updates of changes to shadow instances of the multiple file object versions in order of the versions.

### Claim 12

A computer program product executed by a processor in communication with a file system, the computer program product comprising:
a non-transitory computer readable medium, the computer readable medium comprising program instructions which, when executed by the processor causes:
maintaining file objects in associated memory of said file system, wherein each file object having file system attributes;
creating shadow instances of the file system attributes of each maintained file object; and
managing changes to the shadow instances of the file system attributes, the managing generating a list of one or more ordered transactions to propagate rolling updates of a changed shadow instance to a respective maintained file object, wherein rolling updates propagated through one ordered transaction is automatically added to a next ordered transaction.

### Claim 13 (depends on 12)

The computer program product of claim 12, wherein the file system comprises at least one of: a B−tree structure and a B+tree structure, and the associated memory includes a storage array comprising a persistent disk.

### Claim 14 (depends on 12)

The computer program product of claim 12, wherein the processor further causes:
determining an attribute category for each file system attribute; and
performing the rolling updates of a changed shadow instance as a function of a respective determined attribute category.

### Claim 15 (depends on 14)

The computer program product of claim 14, wherein a determined attribute category is associated with a physical or logical size, and wherein the physical size includes an increment and decrement operation as an attribute type and the logical size includes a replace operation as an attribute type.

### Claim 16 (depends on 12)

The computer program product of claim 12, wherein the processor further causes:
maintaining a transaction data structure for each transaction of the list of one or more ordered transactions.

### Claim 17 (depends on 16)

The computer program product of claim 16, wherein a maintained transaction data structure includes one or more of: a deferred update entry, a deferred update queue, and a dirty buffer queue.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein in response to receiving changes to a shadow instance of a file system attribute of a given file object, the processor further causes:
creating a transaction data structure;
adding an extent associated with the given file object to the dirty buffer queue of the created transaction data structure;
storing the received changes to the shadow instance in the deferred update entry of the created transaction data structure, wherein the storing further includes storing a pointer to the deferred update entry at the given file object; and
when the storing of the received changes to the shadow instance are complete, rolling the stored received changes from the deferred update entry into the dirty buffer queue to be committed to the storage array.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein if the list contains an earlier ordered transaction, the processor further causes:
adding the transaction data structure of the received changes to the deferred update queue of the transaction data structure of the earlier ordered transaction; and
when committing the earlier ordered transaction is complete, rolling committed changes of the earlier ordered transaction into the deferred update entry of the transaction data structure of the received changes.

### Claim 20 (depends on 12)

The computer program product of claim 12, wherein if a given file object comprises multiple versions, the processor further causes:
creating shadow instances of file system attributes of each file object version; and
propagating rolling updates of changes to shadow instances of the multiple file object versions in order of the versions.
