# US 2017/0249304 A1 · File system quota versioning

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

- Number: US 2017/0249304 A1
- Document ID: US20170249304A1
- Status: Published application
- Kind: A1
- Application number: 15/056,772
- Filed: 2016-02-29
- Published: 2017-08-31
- Earliest claimed: 2016-02-29
- Assignees: Red Hat, Inc.
- Applicants: Red Hat, Inc.
- Inventors: Vijaikumar Mallikarjuna
- Web page: https://patentgrep.com/patent/US20170249304A1

## CPC

- G06F 16/11: File system administration, e.g. details of archiving or snapshots (error detection or correction of the data by redundancy in operations G06F11/14)
- G06F 16/122: {using management policies (point-in-time backing up or restoration of persistent data G06F11/1446; file migration policies for HSM systems G06F16/185)}
- G06F 16/182: Distributed file systems
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method for handling file system quotas are disclosed. In one implementation, a processing device receives a first command to disable a quota capability of a file system. In response, one or more instructions are initiated to delete a first association of a quota attribute with a directory, where the first association assigns a first value to a first string comprising a combination (e.g., concatenation, etc.) of an attribute name and a first symbol. Prior to completion of the execution of the one or more instructions, one or more commands are received to enable the quota capability and assign a second value of the quota attribute to the directory. In response, a second association of the quota attribute with the directory is generated, the second association assigning a second value of the quota attribute to a second string comprising a combination of the attribute name and a second symbol.

## Claims

### Claim 1

A method comprising:
receiving, by a processing device, a first command to disable a quota capability of a file system, wherein the quota capability associates quota attributes with directories of the file system;
initiating by the processing device, in response to the first command, execution of one or more instructions to delete a first association of a quota attribute with a directory, wherein the quota attribute has an attribute name, and wherein the first association assigns a first value of the quota attribute to a first string, and wherein the first string comprises a combination of the attribute name and a first symbol;
receiving by the processing device, prior to completion of the execution of the one or more instructions, one or more commands to enable the quota capability and assign a second value of the quota attribute to the directory; and
generating by the processing device, in response to the one or more commands, a second association of the quota attribute with the directory, wherein the second association assigns a second value of the quota attribute to a second string, and wherein the second string comprises a combination of the attribute name and a second symbol.

### Claim 2 (depends on 1)

The method of claim 1 wherein the first symbol comprises one or more characters representing an integer N, and wherein the second symbol comprises one or more characters representing an integer N+1.

### Claim 3 (depends on 1)

The method of claim 1 wherein the quota attribute is a size of the directory.

### Claim 4 (depends on 1)

The method of claim 1 wherein the quota attribute is a limit on a size of the directory.

### Claim 5 (depends on 1)

The method of claim 1 wherein the quota attribute is a contribution of a size of the directory to a size of a parent directory of the directory.

### Claim 6 (depends on 1)

The method of claim 1 wherein the quota capability also associates quota attributes with one or more volumes of the file system.

### Claim 7 (depends on 1)

The method of claim 1 wherein the combination of the attribute name and the first symbol is a concatentation.

### Claim 8

An apparatus comprising:
one or more storage devices to store a file system; and
a processing device, operatively coupled to the one or more storage devices, to:
receive a first command to enable a quota capability of the file system, wherein the quota capability associates quota attributes with directories of the file system;
receive, after the first command, a second command to disable the quota capability;
initiate, in response to the second command, execution of one or more instructions to delete a first association of a quota attribute with a directory, wherein the quota attribute has an attribute name, and wherein the first association assigns a first value of the quota attribute to a first string, and wherein the first string comprises a combination of the attribute name and a first symbol;
receive, prior to completion of the execution of the one or more instructions, one or more commands to enable the quota capability and assign a second value of the quota attribute to the directory; and
generate, in response to the one or more commands, a second association of the quota attribute with the directory, wherein the second association assigns a second value of the quota attribute to a second string, and wherein the second string comprises a combination of the attribute name and a second symbol.

### Claim 9 (depends on 8)

The apparatus of claim 8 wherein the first symbol comprises one or more characters representing an integer N, and wherein the second symbol comprises one or more characters representing an integer N+1.

### Claim 10 (depends on 8)

The apparatus of claim 8 wherein the quota attribute is a size of the directory.

### Claim 11 (depends on 8)

The apparatus of claim 8 wherein the quota attribute is a limit on a size of the directory.

### Claim 12 (depends on 8)

The apparatus of claim 8 wherein the quota attribute is a contribution of a size of the directory to a size of a parent directory of the directory.

### Claim 13 (depends on 8)

The apparatus of claim 8 wherein the quota capability also associates quota attributes with one or more volumes of the file system.

### Claim 14 (depends on 8)

The apparatus of claim 8 wherein the combination of the attribute name and the first symbol is a concatentation.

### Claim 15

A non-transitory computer readable storage medium, having instructions stored therein, which when executed, cause a processing device to:
receive, by the processing device, a first command to disable a quota capability of a file system, wherein the quota capability associates quota attributes with directories of the file system;
initiate by the processing device, in response to the first command, execution of one or more instructions to delete a first association of a quota attribute with a directory, wherein the quota attribute has an attribute name, and wherein the first association assigns a first value of the quota attribute to a first string, and wherein the first string comprises a combination of the attribute name and a first symbol;
receive by the processing device, prior to completion of the execution of the one or more instructions, one or more commands to enable the quota capability and assign a second value of the quota attribute to the directory; and
generate by the processing device, in response to the one or more commands, a second association of the quota attribute with the directory, wherein the second association assigns a second value of the quota attribute to a second string.

### Claim 16 (depends on 15)

The non-transitory computer readable storage medium of claim 15 wherein the first symbol comprises one or more characters representing an integer N, and wherein the second string comprises a second combination of the attribute name and a second symbol, and wherein the second symbol comprises one or more characters representing an integer N+1.

### Claim 17 (depends on 15)

The non-transitory computer readable storage medium of claim 15 wherein the quota attribute is a size of the directory.

### Claim 18 (depends on 15)

The non-transitory computer readable storage medium of claim 15 wherein the quota attribute is a limit on a size of the directory.

### Claim 19 (depends on 15)

The non-transitory computer readable storage medium of claim 15 wherein the quota attribute is a contribution of a size of the directory to a size of a parent directory of the directory.

### Claim 20 (depends on 15)

The non-transitory computer readable storage medium of claim 15 wherein the combination of the attribute name and the first symbol is a concatentation.
