File system creating and deleting apparatus and driving method thereof
First Claim
1. A filing system creating and deleting apparatus, comprising:
- an available inode pool in which inodes are to be stored;
a file system object creating processor creating an inode allocating request signal in response to a file system creating request from an external resource;
an inode allocating processor allocating at least one of inodes stored in the available inode pool in response to the inode allocating request signal;
a file system object deleting processor creating an inode deallocating request signal in response to a file system deleting request from the external resource;
an inode deleting thread collecting inodes requested to be deleted corresponding to the file system deleting request; and
an inode deallocating processor deallocating the inode requested to be deleted from the inode deleting thread,wherein a number of inodes stored in the available inode pool is limited to no more than a maximum inode number in the available inode pool, and the inode requested to be deleted creates and deletes a file system stored in the available inode pool when the number of inodes stored in the available inode pool is smaller than the maximum inode number in the available inode pool,wherein a deleting inode list is stored in the inode deleting thread and the deleting inode list includes a deleting inode head and at least one deleting inode entry, andthe inode requested to be deleted is stored in the deleting inode entry when the number of inodes stored in the available inode pool is the maximum inode number in the available inode pool.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided herein is a filing system creating and deleting apparatus, comprising an available inode pool in which inodes are to be stored, a file system object creating processor creating an inode allocating request signal in response to a file system creating request from an external resource, an inode allocating processor allocating at least one of inodes stored in the available inode pool in response to the inode allocating request signal, a file system object deleting processor creating an inode deallocating request signal in response to a file system deleting request from the external resource, an inode deleting thread collecting inodes requested to be deleted corresponding to the file system deleting request, and an inode deallocating processor deallocating the inode requested to be deleted from the inode deleting thread, wherein a number of inodes stored in the available inode pool is limited to no more than a maximum inode number in the available inode pool, and the inode requested to be deleted creates and deletes a file system stored in the available inode pool when the number of inodes stored in the available inode pool is smaller than the maximum inode number in the available inode pool.
12 Citations
11 Claims
-
1. A filing system creating and deleting apparatus, comprising:
-
an available inode pool in which inodes are to be stored; a file system object creating processor creating an inode allocating request signal in response to a file system creating request from an external resource; an inode allocating processor allocating at least one of inodes stored in the available inode pool in response to the inode allocating request signal; a file system object deleting processor creating an inode deallocating request signal in response to a file system deleting request from the external resource; an inode deleting thread collecting inodes requested to be deleted corresponding to the file system deleting request; and an inode deallocating processor deallocating the inode requested to be deleted from the inode deleting thread, wherein a number of inodes stored in the available inode pool is limited to no more than a maximum inode number in the available inode pool, and the inode requested to be deleted creates and deletes a file system stored in the available inode pool when the number of inodes stored in the available inode pool is smaller than the maximum inode number in the available inode pool, wherein a deleting inode list is stored in the inode deleting thread and the deleting inode list includes a deleting inode head and at least one deleting inode entry, and the inode requested to be deleted is stored in the deleting inode entry when the number of inodes stored in the available inode pool is the maximum inode number in the available inode pool. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A driving method of a filing system creating and deleting apparatus including an available inode pool in which inodes are to be stored, the driving method, comprising:
-
allocating an inode in response to a file creating request from an external source; and processing an inode requested to be deleted corresponding to a file deleting request from the external source, wherein the allocating of the inode is performed only when the file creating request is received from the external resource and includes allocating one of inodes stored in the available inode pool, wherein the deleting of the inode is performed when the file deleting request is received from the external resource, and includes storing an inode requested to be deleted in the available inode pool, wherein the filing system creating and deleting apparatus further comprises an inode deleting thread including a deleting inode head and at least one deleting inode entry, inodes are to be stored in the deleting inode entry, the processing of the inode requested to be deleted further comprises storing the inode requested to be deleted in the deleting inode entry, the inode requested to be deleted is stored in the available inode pool when a number of inodes stored in the available inode pool is smaller than a maximum inode number in the available inode pool, and the inode requested to be deleted is stored in the deleting inode entry is performed when the number of inodes stored in the available inode pool is the maximum inode number in the available inode pool. - View Dependent Claims (8, 9, 10, 11)
-
Specification