Electronic device for controlling file system and operating method thereof
First Claim
1. An electronic device comprising:
- a memory; and
at least one processor electrically connected to the memory,wherein the memory stores instructions which, when executed by the at least one processor, cause the at least one processor to;
provide at least one first file system and a second file system stacked above the at least one first file system in the memory,provide a virtual memory area including a virtual address for a file corresponding to a file mapping request in the memory, andprovide a first virtual address link between the virtual memory area and a file object of the at least one first file system including a page cache of the file corresponding to the file mapping request,wherein the second file system is directly accessed by a virtual file system, in response to the file mapping request of a software program, and does not include the page cache.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of operating an electronic device and the electronic device are provided. The method includes mounting at least one lower file system, which is configured to generate a file object managing a page cache, and mounting a highest file system, to which a virtual file system directly accesses, at a higher layer of a layer corresponding to the lower file system; in response to a file mapping request of a software program, generating a virtual memory area including a virtual address for a file corresponding to the file mapping request; and generating a first virtual address link between a file object of at least one lower file system having a page cache of a file corresponding to the file mapping request and the virtual memory area.
23 Citations
18 Claims
-
1. An electronic device comprising:
-
a memory; and at least one processor electrically connected to the memory, wherein the memory stores instructions which, when executed by the at least one processor, cause the at least one processor to; provide at least one first file system and a second file system stacked above the at least one first file system in the memory, provide a virtual memory area including a virtual address for a file corresponding to a file mapping request in the memory, and provide a first virtual address link between the virtual memory area and a file object of the at least one first file system including a page cache of the file corresponding to the file mapping request, wherein the second file system is directly accessed by a virtual file system, in response to the file mapping request of a software program, and does not include the page cache. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A method of operating an electronic device, the method comprising:
-
providing at least one first file system and a second file system stacked above the at least one first file system in a memory of the electronic device; providing a virtual memory area including a virtual address for a file corresponding to a file mapping request, in response to the file mapping request by a software program; and providing a first virtual address link between the virtual memory area and a file object of the at least one first file system including a page cache of the file corresponding to the file mapping request, wherein the second file system is directly accessed by a virtual file system, in response to the file mapping request of the software program, and does not include the page cache. - View Dependent Claims (15, 16, 17, 18)
-
Specification