# US 2009/0276470 A1 · Data Processing System And Method

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

- Number: US 2009/0276470 A1
- Document ID: US20090276470A1
- Status: Published application
- Kind: A1
- Application number: 12/140,278
- Filed: 2008-06-17
- Published: 2009-11-05
- Earliest claimed: 2008-05-05
- Inventors: Rajesh VIJAYARAJAN; Srividya Ramanathan; Rajani G. K.
- Web page: https://patentgrep.com/patent/US20090276470A1

## CPC

- G06F 16/10: File systems; File servers
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of rotating a current log file, comprising associating a first file system data structure associated with the current log file with a backup log file, and associating a second file system data structure associated with the backup log file with the current log file.

## Claims

### Claim 1

A method of rotating a current log file, comprising associating a first file system data structure associated with the current log file with a backup log file, and associating a second file system data structure associated with the backup log file with the current log file.

### Claim 2 (depends on 1)

A method as claimed in claim 1, wherein associating the first file system data structure with the backup log file and associating the second file system data structure with the current log file comprises swapping a first pointer in a first file system data structure associated with the current log file with a second pointer in a second file system data structure associated with a backup log file.

### Claim 3 (depends on 1)

A method as claimed in claim 1, wherein the first pointer comprises a first inode pointer to a first inode, the first file system data structure comprises a first vnode, the second pointer comprises a second inode pointer to a second inode and the second file system data structure comprises a second vnode.

### Claim 4 (depends on 3)

A method as claimed in claim 3, comprising swapping a first vnode pointer to the first vnode in the first inode with a second vnode pointer to the second vnode in the second inode.

### Claim 5 (depends on 1)

A method as claimed in claim 1, comprising monitoring a size of the current log file, and performing the association based on the monitoring.

### Claim 6 (depends on 1)

A method as claimed in claim 1, comprising receiving a request to write data to the current log file, determining whether the write would cause the current log file to exceed a predetermined file size, performing the association if the write would cause the current log file to exceed the predetermined file size, and allowing the write to proceed.

### Claim 7

A system for rotating a current log file, the system arranged to associate a first file system data structure associated with the current log file with a backup log file, and associate a second file system data structure associated with the backup log file with the current log file.

### Claim 8 (depends on 7)

A system as claimed in claim 7, arranged to associate the first file system data structure with the backup log file and associate the second file system data structure with the current log file by swapping a first pointer in a first file system data structure associated with the current log file with a second pointer in a second file system data structure associated with a backup log file.

### Claim 9 (depends on 8)

A system as claimed in claim 8, wherein the first pointer comprises a first inode pointer to a first inode, the first file system data structure comprises a first vnode, the second pointer comprises a second inode pointer to a second inode and the second file system data structure comprises a second vnode.

### Claim 10 (depends on 9)

A system as claimed in claim 9, arranged to swap a first vnode pointer to the first vnode in the first inode with a second vnode pointer to the second vnode in the second inode.

### Claim 11 (depends on 7)

A system as claimed in claim 7, arranged to monitor a size of the current log file, and perform the association based on the monitoring.

### Claim 12 (depends on 7)

A system as claimed in claim 7, arranged to receive a request to write data to the current log file, determine whether the write would cause the current log file to exceed a predetermined file size, perform the association if the write would cause the current log file to exceed the predetermined file size, and allow the write to proceed.

### Claim 13 (depends on 1, 7)

A computer program comprising instructions for implementing the method of claim 1 or the system of claim 7.

### Claim 14 (depends on 13)

Computer readable storage storing a computer program as claimed in claim 13.
