SYSTEM AND METHOD FOR SELECTIVELY ROUTING CACHED OBJECTS
A monitoring application and method for using a monitoring application are disclosed. The monitoring application is configured to manage file system objects in a memory device layer (including copying of the file system objects) and is configured to manage one or more data structures to enable the management of the file system objects to be transparent to the application layer and/or the operating system layer.
Latest SanDisk Technologies Inc. Patents:
This application is a continuation of U.S. application Ser. No. 13/803,721, which claims the benefit of U.S. Provisional Application No. 61/747,547, filed Dec. 31, 2012, the entirety of both of which is hereby incorporated by reference herein.
TECHNICAL FIELDThis application relates generally to managing data in a system. More specifically, this application relates to selectively routing cached objects in the system.
BACKGROUNDThe arrows in
As shown in
However, the kernel file systems and the application stacks can be modified in order to manually select which partition or mount point should be used in each case, thereby enabling improved performance. For example, applications may explicitly address external storage, either by user configuration (i.e., the user selecting a directory to save files to) or through code in the application that detects and uses external storage.
BRIEF SUMMARYA system for and a method of routing a file system object from a first memory device to a second memory device transparent to an operating system resolving a path to the file system object is provided.
In one aspect, a method is provided for selectively routing a file system object transparently to an operating system. The method includes: performing by a processor configured to carry out selective routing under control of a monitoring application which is operable with an operating system and includes an intermediate partition with redirect information, wherein the processor has operable connections to first and second memory devices for such selective routing: determining whether to route a file system object from the first memory device to the second memory device; in response to determining to route the file system object, causing the file system object to be routed to a location in the second memory device; and updating the intermediate partition's redirect information for the file system object with the location of the file system object in the second memory device, wherein the first memory device includes a directory for the operating system to resolve paths for file system objects stored in the first memory device, wherein the directory includes information of a redirect to the intermediate partition, and wherein, using the intermediate partition's redirect information, the operating system continues using the directory in the first memory device to resolve the path to the file system object stored in the second memory device so that the routing of the file system object to the second memory device is transparent to the operating system.
The first memory device may include a directory associated therewith for the operating system to resolve paths for file system objects stored in the first memory device, with the directory including an intermediate partition redirect indicative of a redirect to the intermediate partition. In this regard, using the intermediate partition redirect, the operating system continues using the directory in the first memory device to resolve the path to the file system object stored in the second memory device so that the copying of the file system object to the second memory device is transparent to the operating system.
The intermediate partition may dynamically change based on the routing (e.g., copying) of the file from the first memory device to the second memory device, while the directory for the operating system to resolve paths for file system objects stored in the first memory device need not change. For example, prior to copying the file system object, the directory may include the intermediate partition redirect redirecting to the intermediate partition. In this regard, prior to copying, the operating system accesses the directory, is redirected to the intermediate partition, and in turn redirected again to the file system object stored in the first memory device.
The first memory device and the second memory device may differ in one or more aspects, such as location, speed, size, endurance, or performance. The second memory device may be a cache so that copying the file system object into the second memory device increases the speed of access to the file system object.
In another aspect, a monitoring device is provided for selectively routing a file system object transparently to an operating system. The monitoring device includes: one or more memories configured to store an intermediate partition, the intermediate partition comprising redirect information; and a processor in communication with the one or more memories. The processor is configured to carry out selective routing under control of the monitoring device which is operable with the operating system, wherein the processor has operable connections to first and second memory devices for such selective routing and configured to: determine whether to route a file system object from the first memory device to the second memory device; in response to determining to route the file system object, cause the file system object to be routed to a location in the second memory device; and update the intermediate partition's redirect information for the file system object with the location of the file system object in the second memory device, wherein the first memory device includes a directory for the operating system to resolve paths for file system objects stored in the first memory device, wherein the directory includes information of a redirect to the intermediate partition, and wherein, using the intermediate partition's redirect information, the operating system continues using the directory in the first memory device to resolve the path to the file system object stored in the second memory device so that the routing of the file system object to the second memory device is transparent to the operating system.
The first memory device includes a directory for the operating system to resolve paths for file system objects stored in the first memory device, with the directory including an intermediate partition redirect indicative of a redirect to the intermediate partition. In this regard, using the intermediate partition redirect, the operating system continues using the directory in the first memory device to resolve the path to the file system object stored in the second memory device so that the routing of the file system object to the second memory device is transparent to the operating system.
Other features and advantages will become apparent upon review of the following drawings, detailed description and claims. Additionally, other embodiments are disclosed, and each of the embodiments can be used alone or together in combination. The embodiments will now be described with reference to the attached drawings.
The system may be better understood with reference to the following drawings and description. In the figures, like reference numerals designate corresponding parts throughout the different views.
Kernel 212 functions as a part of the operating system that, generally speaking, provides a layer between the hardware (such as the memory devices in the memory device layer 220) and the application programs running in the application layer 200.
Kernel 212 makes its services available to the applications that run on the system via requests. One of the requests relates to access of data on the memory devices, such as open( ) close( ) read( )and write( )requests. In response to a request, kernel 212 acts as the interface between the application and the hardware, provides hardware abstraction so that the applications do not need to know the specifics to address the hardware, and provides file system abstraction so that the application can open a file without knowing the specific structure of the file system. For example, in response to the request, the kernel may resolve the path to the hardware, and send a representation of the path (such as in the form of a handle) to the application so that the application may communicate with a memory device in the memory device layer. In this way, the application need not know the details in addressing the hardware, instead relying on the kernel to resolve the details of addressing.
As shown in
The virtual layer may be dynamically changed in order to reflect the movement of the file system objects. In one embodiment, one or more directories associated with the memory devices and used to resolve the path to the file system objects do not change in response to movement of the file system objects. For example, a file system object may be stored in drive C:, as discussed with regard to
In an alternate embodiment, one or more directories associated with the memory devices and used to resolve the path to the file system objects change in response to movement of the file system objects. More specifically, the directory (such as the root directory) and the virtual layer (such as the intermediate partition) may be modified to reflect the copying of the file system object. For example, a file system object may be stored in drive C. The directory (such as the root directory) associated with drive C: may be used in order to resolve the path to file system objects stored in drive C:. Prior to copying the file system object from drive C: to drive Y:, the directory does not include a redirect to the intermediate partition. Rather, the directory includes an indication of the path to the file system object stored on drive C:, such as illustrated in
In this regard, because of this additional virtual layer in the system, the application layer 200 and/or the operating system layer 210 need not be modified in the event that the monitoring application 230 moves file system objects within the system. More specifically, the monitoring application 230 may manage the file system objects in the memory device layer to determine whether, when, and/or where to move a file system object. The determination whether, when, and/or where to move the file system object amongst the different memory devices in the memory device layer 220 may depend on one or more criteria, such as, for example, the use of the file system objects within the system and/or the characteristics of the memory devices within the system.
Memory devices within the memory device layer 220 may be the same, or may differ from one another. When different, the memory devices may differ in one or more aspects. Examples of differing aspects include, but are not limited to: location (e.g., whether the memory device is considered remote or local to another computing device within the system); speed; size (e.g., directory size); endurance; performance; application-specific information (such as database and application cache locations); controller-specific information exchanged between the monitor application and the storage controller firmware; etc.
For example, the speed of the memory devices within the system may vary. More specifically, a first memory device may be slower in terms of responding to a read, write and/or erase request for a file system object than a second memory device. In particular, the first memory device may comprise a hard disk drive whereas the second memory device may comprise cache. So that, the speed of the first memory device is slower than the second memory device. As discussed in more detail below, the monitoring application may determine to move (such as make a copy of) the file system object to another memory device within the system. The determination to move the file system object may be based, for example, on one or more factors, such as the speed of the memory devices within the system (e.g., the memory device that currently stores the file system object and the memory device that will receive the copy of the file system object) and the frequency of access to the file system object.
Though the example of differing speeds of the memory devices is discussed below, any differing aspect between the memory devices may be the basis for the monitoring application to move the file system object amongst the differing memory devices. As another example, two memory devices in the system may both be local to another computing device within the system, but the memory devices may differ in that one memory device has larger memory capacity and is slower than another memory device. The examples provided are merely for illustration purposes. Other bases to determine whether, when and/or where to move the file system object are contemplated.
When the monitoring application 230 determines to move a file system object, the monitoring application 230 updates one or more data structures in the system. The one or more data structures may be used by the application layer 200 and/or the operating system layer 210 in order to access the moved data structures (such as resulting in at least one additional redirect when resolving the path to the file system object). As discussed in more detail below, the data structure(s) may be arranged in one of several ways. For example, the data structures may include an existing data structure (such as a data structure used to resolve the path to a file, one example of which is the mounting point of the memory device) and a data structure associated with the monitoring application 230 (such as intermediate partition 232). More specifically, the file system may modify the data structure used to resolve the path to a file. For example, the mounting point (one example of which is a root directory) may be modified to point to the intermediate partition. The modification of the mounting point may be performed once (such as when installing the monitoring application 230), may be performed upon boot-up of the system, and/or may be performed when a new memory device is installed in the system. Further, the monitoring application 230 may modify the intermediate partition 232 in response to moving a file system object within the system.
Referring back to
The depiction of the monitoring application 230, and its component parts, is merely for illustration purposes only. For example, though
As another example, the intermediate partition 232 may exist as a temporary file system that is hosted by the management of files in memory device layer and of the intermediate partition software 234 via a technology such as FUSE or a specialized kernel driver, depending on operating system. Alternatively, the intermediate partition 232 may be a physical partition or a directory in an existing partition accessible to calling applications.
As discussed above, the intermediate partition 232 comprises one or more data structures to enable the different layer(s) in the system (such as the application layer 200 and/or the operating system layer 210) to access the moved file system object without changing the logic or firmware of the different layer(s) in the system. More specifically, the applications in the application layer 200 and/or the kernel 212 in the operating system layer 210 may use the intermediate partition 232 (and further may use the mounting point of the memory device(s)) to resolve the path to the moved file system object, as discussed in more detail below. In this way, the movement of the file system object is transparent to the applications in the application layer 200 and the kernel 212 in the operating system layer 210 so that the software in either layer need not be modified.
Operating systems may use one or more data structures in order to resolve the path to access a file on the memory device. One example of a data structure is the mount point of the memory device, which may be used to resolve the path to access a file on the memory device. A specific example of the mount point is a root directory. Alternatively, the data structure to resolve the path to access a file on the memory device may be different from the root directory. A directory (e.g., a subdirectory), separate from the root directory, may be used, as described in illustration 1 below.
The root directory may take different forms depending on the operating system. In Windows-type operating systems, the root directory for each storage device and partition (e.g., logically independent section) of a hard disk drive (HDD), and they are labeled, for example, Y: for the removable flash memory device, C: for the first partition of the HDD, D: for the second partition of the HDD, etc. Unix-type operating systems use a single root directory for all of the memory devices on the system, in which the directory at the top of the file system is designated by a forward slash (/). Further, Unix-type operating systems include a first-tier of directories within the root directory, such as /bin, /usr, /etc, /misc.
Root directory 310 is an example of the mount point for drive C:. As shown in
In this way, the root directory is modified so that, in one embodiment, the portion of the root directory used to resolve the path for files on the respective drive is replaced to consist entirely of redirects (such as softlinks) to a different part of the system (such as to the intermediate partition 305).
In this way,
The following is an illustration using the monitoring application 230 for the Android operating system. In the Android operating system, the /data/data directory is used to store application-specific content. Each application has its own subdirectory, which is typically further divided into subdirectories, each with its own content characteristics. The web browser application for the Android operating system has the following directory structure:
root@android:/data/data/com.google.android.browser # Is-I
drwxrwx--x app_57 app_57 2012-02-01 15:14 app_appcache
drwxrwx--x app_57 app_57 2012-02-01 15:14 app_databases
drwxrwx--x app_57 app_57 2012-02-01 15:14 app_geolocation
drwxrwx--x app_57 app_57 2012-02-01 15:15 app_icons
drwxrwx--x app_57 app_57 2012-02-01 15:15 cache
drwxrwx--x app_57 app_57 2012-02-01 15:15 databases
drwxr-xr-x system system 2011-11-29 12:16 lib
drwxrwx--x app_57 app_57 2012-02-01 15:14 shared_prefs
Some of the above directories, such as cache and databases, may benefit from moving to a different physical partition. For example, the cache directory may be moved to a different partition, leaving a symbolic link behind. The directory structure now looks as follows:
root@android:/data/data/com.google.android.browser # Is-I
drwxrwx--x app_57 app_57 2012-02-01 15:14 app_appcache
drwxrwx--x app_57 app_57 2012-02-01 15:14 app_databases
drwxrwx--x app_57 app_57 2012-02-01 15:15 app_geolocation
drwxrwx--x app_57 app_57 2012-02-01 15:15 app_icons
Irwxrwx--x app_57 app_57 2012-02-01 15:21 cache ->/intermediate/cache
drwxrwx--x app_57 app_57 2012-02-01 15:15 databases
drwxr-xr-x system system 2011-11-29 12:16 lib
drwxrwx--x app_57 app_57 2012-02-01 15:14 shared_prefs
The /intermediate directory in the intermediate partition 305 has the following content:
root@android:/intermediate # Is-I
Irwxrwx--x app_57 app_57 2012-02-01 15:21 cache ->/cache/browsercache/cache
The link in the /intermediate directory may be rewritten to point to any other location (in this case pointing to the /cache physical partition of the device). In this way, the /intermediate directory may be used to point to the location where the data has been moved.
Illustration 2The following is another illustration using the monitoring application 230 for playback of a movie or other type of video. Movies typically require a huge storage capacity. Depending on the storage configuration, the movie may be composed of a grouping of small files, each of the small files including a section of the movie, with the grouping of small files configured for execution in a sequence. In operation, the calling application calls the next small file in anticipation of playing the section of the movie associated with the called file. Examples of this include, but are not limited to, Dynamic Adaptive Streaming over HTTP (DASH), and Apple's HTTP Live Streaming (HLS). More specifically, DASH enables high quality streaming of media content over the Internet delivered from conventional HTTP web servers. DASH works by breaking the content into a sequence of small HTTP-based file segments, each segment containing a short interval of playback time of a content that is potentially many hours in duration, such as a movie or the live broadcast of a sports event. The content is made available at a variety of different bit rates, i.e., alternative segments encoded at different bit rates covering aligned short intervals of play back time are made available. As the content is played back by a DASH client, the client automatically selects from the alternatives the next segment to download and play back based on current network conditions.
Further, because movies require a huge storage capacity, movies are typically stored on a large storage device (which may be on the order of Terabytes in storage capacity) that is remote and separate from the digital playback device. So that, the movie files may be played on a different device, such as a laptop (or other digital player) with much smaller storage capacity. In operation, the digital player may access a listing of movie files that are available for play. The user, via the digital player, may select one of the movie files for play. The monitoring application 230 may monitor the play of the selected movie file stored in the large storage device. Further, the monitoring application 230 may copy the files that are yet to be played in the selected movie to a quicker storage device (such as the memory associated with the digital player). The monitoring application 230 may also store the location of the copy of the files in the intermediate partition 305 (e.g., a softlink that points to the memory associated with the digital player). So that, when the kernel I/O manager accesses files for the selected movie, the kernel I/O manager will be re-directed to the memory associated with the digital player.
In addition to operational changes, the monitoring application 230 may modify the organization of files that are presented to the user. In the movie files example discussed above, some of the movies may be stored on the large and slow storage device, and other movies may be stored on a faster, smaller storage device (such as the local digital player). The monitoring application 230 may further be configured to show to the user (such as in a directory listing) all of the movie files that are stored on the various devices in the system (such as the large and slow storage and the local digital player) as being stored on a single drive (such as the drive associated with the local digital player). In this way, the monitoring application may present to the user a directory listing for a single drive of all of a particular type of file (such as movie files), even though the files are located on different drives.
At 404, the monitoring application 230 determines which drive to copy the file. As shown in
The computer system 700 may include a processor 702, such as, a central processing unit (CPU), a graphics processing unit (GPU), or both. The processor may be a component in a variety of systems. For example, the processor may be part of a standard personal computer or a workstation. The processor may be one or more general processors, digital signal processors, application specific integrated circuits, field programmable gate arrays, servers, networks, digital circuits, analog circuits, combinations thereof, or other now known or later developed devices for analyzing and processing data. The processors and memories discussed herein, as well as the claims below, may be embodied in and implemented in one or multiple physical chips or circuit combinations. The processor may execute a software program, such as code generated manually (i.e., programmed).
The computer system 700 may include a memory 704 that can communicate via a bus. The memory may be a main memory, a static memory, or a dynamic memory. The memory may include, but may not be limited to computer readable storage media such as various types of volatile and non-volatile storage media, including but not limited to random access memory, read-only memory, programmable read-only memory, electrically programmable read-only memory, electrically erasable read-only memory, flash memory, magnetic tape or disk, optical media and the like. In one case, the memory may include a cache or random access memory for the processor. Alternatively or in addition, the memory may be separate from the processor, such as a cache memory of a processor, the memory, or other memory. The memory may be an external storage device or database for storing data. Examples may include a hard drive, compact disc (“CD”), digital video disc (“DVD”), memory card, memory stick, floppy disc, universal serial bus (“USB”) memory device, or any other device operative to store data. The memory may be operable to store instructions 706 executable by the processor. The functions, acts or tasks illustrated in the figures or described herein, such as
The computer system 700 may further include a display 712, such as a liquid crystal display (LCD), an organic light emitting diode (OLED), a flat panel display, a solid state display, a cathode ray tube (CRT), a projector, a printer or other now known or later developed display device for outputting determined information. The display may act as an interface for the user to see the functioning of the processor, or specifically as an interface with the software stored in the memory 704.
When the computer system 700 comprises the monitoring application, the memory 704 includes the intermediate partition 305. Though a single memory is illustrated in
Additionally, the computer system 700 may include an input device 714 configured to allow a user to interact with any of the components of system. The input device may be a number pad, a keyboard, or a cursor control device, such as a mouse, or a joystick, touch screen display, remote control or any other device operative to interact with the system.
The computer system 700 may also include a disk or optical drive unit. The disk drive unit may include a computer-readable medium in which one or more sets of instructions, e.g. software, may be embedded. Further, the instructions may perform one or more of the methods or logic as described herein. The instructions may reside completely, or at least partially, within the memory 704 and/or within the processor 702 during execution by the computer system 700. The memory 704 and the processor 702 also may include computer-readable media as discussed above.
The present disclosure contemplates a computer-readable medium that includes instructions or receives and executes instructions responsive to a propagated signal, so that a device connected to a network 716 may communicate voice, video, audio, images or any other data over the network. Further, the instructions may be transmitted or received over the network via a communication interface 718. The communication interface may be a part of the processor or may be a separate component. The communication interface may be created in software or may be a physical connection in hardware. The communication interface may be configured to connect with a network, external media, the display, or any other components in system, or combinations thereof. The connection with the network may be a physical connection, such as a wired Ethernet connection or may be established wirelessly as discussed below. Likewise, the additional connections with other components of the system may be physical connections or may be established wirelessly. In the case of a service provider server, the service provider server may communicate with users through the communication interface.
The network may include wired networks, wireless networks, or combinations thereof. The wireless network may be a cellular telephone network, an 802.11, 802.16, 802.20, or WiMax network. Further, the network may be a public network, such as the Internet, a private network, such as an intranet, or combinations thereof, and may utilize a variety of networking protocols now available or later developed including, but not limited to TCP/IP based networking protocols.
The computer-readable medium may be a single medium, or the computer-readable medium may be a single medium or multiple media, such as a centralized or distributed database, and/or associated caches and servers that store one or more sets of instructions. The term “computer-readable medium” may also include any medium that may be capable of storing, encoding or carrying a set of instructions for execution by a processor or that may cause a computer system 700 to perform any one or more of the methods or operations disclosed herein.
The computer-readable medium may include a solid-state memory such as a memory card or other package that houses one or more non-volatile read-only memories. The computer-readable medium also may be a random access memory or other volatile re-writable memory. Additionally, the computer-readable medium may include a magneto-optical or optical medium, such as a disk or tapes or other storage device to capture carrier wave signals such as a signal communicated over a transmission medium. A digital file attachment to an e-mail or other self-contained information archive or set of archives may be considered a distribution medium that may be a tangible storage medium. The computer-readable medium is preferably a tangible storage medium. Accordingly, the disclosure may be considered to include any one or more of a computer-readable medium or a distribution medium and other equivalents and successor media, in which data or instructions may be stored.
Alternatively or in addition, dedicated hardware implementations, such as application specific integrated circuits, programmable logic arrays and other hardware devices, may be constructed to implement one or more of the methods described herein. Applications that may include the apparatus and systems of various embodiments may broadly include a variety of electronic and computer systems. One or more embodiments described herein may implement functions using two or more specific interconnected hardware modules or devices with related control and data signals that may be communicated between and through the modules, or as portions of an application-specific integrated circuit. Accordingly, the present system may encompass software, firmware, and hardware implementations.
The methods described herein may be implemented by software programs executable by a computer system. Further, implementations may include distributed processing, component/object distributed processing, and parallel processing. Alternatively or in addition, virtual computer system processing maybe constructed to implement one or more of the methods or functionality as described herein.
Although components and functions are described that may be implemented in particular embodiments with reference to particular standards and protocols, the components and functions are not limited to such standards and protocols. For example, standards for Internet and other packet switched network transmission (e.g., TCP/IP, UDP/IP, HTML, and HTTP) represent examples of the state of the art. Such standards are periodically superseded by faster or more efficient equivalents having essentially the same functions. Accordingly, replacement standards and protocols having the same or similar functions as those disclosed herein are considered equivalents thereof.
The illustrations described herein are intended to provide a general understanding of the structure of various embodiments. The illustrations are not intended to serve as a complete description of all of the elements and features of apparatus, processors, and systems that utilize the structures or methods described herein. Many other embodiments may be apparent to those of skill in the art upon reviewing the disclosure. Other embodiments may be utilized and derived from the disclosure, such that structural and logical substitutions and changes may be made without departing from the scope of the disclosure. Additionally, the illustrations are merely representational and may not be drawn to scale. Certain proportions within the illustrations may be exaggerated, while other proportions may be minimized. Accordingly, the disclosure and the figures are to be regarded as illustrative rather than restrictive.
The above disclosed subject matter is to be considered illustrative, and not restrictive, and the appended claims are intended to cover all such modifications, enhancements, and other embodiments, which fall within the true spirit and scope of the description. Thus, to the maximum extent allowed by law, the scope is to be determined by the broadest permissible interpretation of the following claims and their equivalents, and shall not be restricted or limited by the foregoing detailed description.
Claims
1. A method of selectively routing a file system object transparently to an operating system, the method comprising:
- performing by a processor configured to carry out selective routing under control of a monitoring application which is operable with an operating system and includes an intermediate partition with redirect information, wherein the processor has operable connections to first and second memory devices for such selective routing: determining whether to route a file system object from the first memory device to the second memory device; in response to determining to route the file system object, causing the file system object to be routed to a location in the second memory device; and updating the intermediate partition's redirect information for the file system object with the location of the file system object in the second memory device,
- wherein the first memory device includes a directory for the operating system to resolve paths for file system objects stored in the first memory device,
- wherein the directory includes information of a redirect to the intermediate partition, and
- wherein, using the intermediate partition's redirect information, the operating system continues using the directory in the first memory device to resolve the path to the file system object stored in the second memory device so that the routing of the file system object to the second memory device is transparent to the operating system.
2. The method of claim 1, wherein causing the file system object to be routed to a location in the second memory device comprises causing the file system object to be copied to the location in the second memory device.
3. The method of claim 2, wherein prior to causing the file system object to be copied to the location in the second memory device:
- the file system object is stored in a location in the first memory device;
- the directory includes the information of the redirect to the intermediate partition; and
- the intermediate partition's redirect information for the file system object comprises the location of the file system object in the first memory device;
- wherein the intermediate partition's redirect information of the location of the file system object in the first memory device is used to redirect the operating system to the file system object stored at the location in the first memory device.
4. The method of claim 1, wherein the first memory device and the second memory device differ in one or more aspects.
5. The method of claim 4, wherein the one or more aspects comprise location, speed, size, endurance, or performance.
6. The method of claim 5, wherein the second memory device comprises cache.
7. The method of claim 1, wherein the file system object comprises a file.
8. The method of claim 1, wherein the file system object comprises one or more of a plurality of files, the plurality of files configured for execution in a sequence;
- wherein determining whether to route the file system object comprises determining whether one of the plurality of files has been accessed for execution; and
- wherein routing the file system object comprises copying one or more files in the plurality of files that are later in the sequence than the accessed file for execution.
9. The method of claim 8, wherein the plurality of files comprise a series of files for a movie;
- wherein the one of the plurality of files has been accessed by a digital player;
- wherein the first memory device is remote from the digital player; and
- wherein the second memory device is associated with the digital player.
10. The method of claim 1, wherein the directory comprises a mount point of the first memory device.
11. The method of claim 10, wherein the mount point comprises a root directory of the first memory device.
12. The method of claim 11, wherein the root directory for resolving paths of the file system objects consists of one or more intermediate partition softlinks, each of the one or more intermediate partition softlinks configured to redirect to the intermediate partition.
13. The method of claim 12, wherein the intermediate partition for resolving paths of file system objects consists of softlinks.
14. A monitoring device for selectively routing a file system object transparently to an operating system, the monitoring device comprising:
- one or more memories configured to store an intermediate partition, the intermediate partition comprising redirect information; and
- a processor in communication with the one or more memories, the processor configured to carry out selective routing under control of the monitoring device which is operable with the operating system, wherein the processor has operable connections to first and second memory devices for such selective routing and configured to: determine whether to route a file system object from the first memory device to the second memory device; in response to determining to route the file system object, cause the file system object to be routed to a location in the second memory device; and update the intermediate partition's redirect information for the file system object with the location of the file system object in the second memory device,
- wherein the first memory device includes a directory for the operating system to resolve paths for file system objects stored in the first memory device,
- wherein the directory includes information of a redirect to the intermediate partition, and
- wherein, using the intermediate partition's redirect information, the operating system continues using the directory in the first memory device to resolve the path to the file system object stored in the second memory device so that the routing of the file system object to the second memory device is transparent to the operating system.
15. The monitoring device of claim 14, wherein the processor is configured to cause the file system object to be routed to a location in the second memory device by causing the file system object to be copied to the location in the second memory device.
16. The monitoring device of claim 15, wherein prior to causing the file system object to be copied to the location in the second memory device:
- the file system object is stored in a location in the first memory device;
- the directory includes the information of the redirect to the intermediate partition; and
- the intermediate partition's redirect information for the file system object comprises the location of the file system object in the first memory device;
- wherein the intermediate partition's redirect information of the location of the file system object in the first memory device is used to redirect the operating system to the file system object stored at the location in the first memory device.
17. The monitoring device of claim 14, wherein the first memory device and the second memory device differ in one or more aspects.
18. The monitoring device of claim 17, wherein the one or more aspects comprise location, speed, size, endurance, or performance.
19. The monitoring device of claim 18, wherein the second memory device comprises cache.
20. The monitoring device of claim 14, wherein the file system object comprises a file.
Type: Application
Filed: Jan 11, 2016
Publication Date: May 5, 2016
Applicant: SanDisk Technologies Inc. (Plano, TX)
Inventor: Judah G. Hahn (Ofra)
Application Number: 14/992,422