Method for data placement in a memory based file system
AssigneeNetApp, Inc.
InventorsAmit Golander, Boaz Harrosh
Life of this patent
Estimating the term…
Abstract
Methods for data placement in a memory-based file system are described, including copying a user data unit from a second storage type device to a first storage type device based on an access request to the file system, the first storage type device being a faster access device than the second storage type device, referencing the user data unit in the first storage type device by a byte addressable memory pointer, and using the byte addressable memory pointer to copy the user data unit from the first storage type device to the second storage type device based on data access pattern.
Claims20
A method for data placement in a memory-based file system, the method comprising:
- copying a user data unit from a second storage type device to a first storage type device based on an access request to the file system, the first storage type device comprising a persistent memory and being a faster access device than the second storage type device;
- maintaining the persistent memory into a list of pages and managing the list based on a repeated data access pattern;
- referencing the user data unit in the first storage type device by a byte addressable memory pointer;
- using the byte addressable memory pointer to copy the user data unit from the first storage type device to the second storage type device based on data access pattern;
- and
- maintaining the persistent memory into a first list of pages and a second list of pages, the first list to receive an unclassified page at the head of the first list and the second list to receive, at the head of the second list, a page moved from the tail of the first list;
- wherein the access request to the file system comprises an mmap system call thereby providing a page having a transparent flag and providing protection against direct access to the page having the transparent flag prior to the page being received at the head of the second list.
A non-transitory, machine readable medium having stored thereon instructions comprising machine executable code which when executed by a machine, causes the machine to:
- copy a user data unit from a second storage type device to a first storage type device based on an access request to a memory-based file system, the first storage type device comprising a persistent memory and being a faster access device than the second storage type device;
- maintain the persistent memory into a list of pages and managing the list based on a repeated data access pattern;
- reference the user data unit in the first storage type device by a byte addressable memory pointer;
- use the byte addressable memory pointer to copy the user data unit from the first storage type device to the second storage type device based on data access pattern;
- and
- maintain the persistent memory into a first list of pages and a second list of pages, the first list to receive an unclassified page at the head of the first list and the second list to receive, at the head of the second list, a page moved from the tail of the first list;
- wherein the access request to the file system comprises an mmap system call thereby providing a page having a transparent flag and providing protection against direct access to the page having the transparent flag prior to the page being received at the head of the second list.
A system, comprising:
- a memory containing machine readable medium comprising machine executable code having stored thereon instructions;
- and a processor coupled to the memory, the processor configured to execute the machine executable code to:
- copy a user data unit from a second storage type device to a first storage type device based on an access request to a file system, the first storage type device comprising a persistent memory and being a faster access device than the second storage type device;
- maintain the persistent memory into a list of pages and managing the list based on a repeated data access pattern;
- reference the user data unit in the first storage type device by a byte addressable memory pointer;
- use the byte addressable memory pointer to copy the user data unit from the first storage type device to the second storage type device based on data access pattern;
- and
- maintain the persistent memory into a first list of pages and a second list of pages, the first list to receive an unclassified page at the head of the first list and the second list to receive, at the head of the second list, a page moved from the tail of the first list;
- wherein the access request to the file system comprises an mmap system call thereby providing a page having a transparent flag and providing protection against direct access to the page having the transparent flag prior to the page being received at the head of the second list.
Dependencies are inferred from the claim text.