Patent ID: 9384201
Filing Date: 2016-07-05
CPC Classification: G06F

Claim Text:
1. A method of managing data in a file system having a plurality of functional modules, the plurality of functional modules comprising a database management system (DBMS) module and at least one file system module, comprising: receiving, by the at least one file system module, a data write request from an application to write data to a storage device; searching, by the DBMS module, at least one database that stores free space information that indicates free disk blocks available for storage from among disk blocks in the storage device into which to store the data, and transmitting information indicating the free disk blocks to the at least one file system module; selecting, by the at least one file system module bypassing the DBMS, disk blocks of the storage device from among the free disk blocks into which the data is to be written, based on the information; writing the data, by the at least one file system module bypassing the DBMS, in the selected disk blocks of the storage device; and updating mapping information of an offset of the data and a block address of the disk blocks of the storage device into which the data is written in the at least one database, by the DBMS module, based on the data written in the selected disk blocks, in response to the at least one file system module writing the data in the selected disk blocks, wherein the searching, determining, writing, and updating are managed by the DBMS module as one transaction, wherein the selecting comprises selecting the free disk blocks of the storage device based on a disk allocation algorithm configured to optimize storage of the data in the storage device.