| CPC G06F 3/0608 (2013.01) [G06F 3/064 (2013.01); G06F 3/0673 (2013.01)] | 20 Claims |

|
1. A method for adaptive mapping for data compression, the method comprising:
determining an input/output (I/O) request pattern;
dynamically switching between a segment mapping mode and a flat hash table mapping mode based on the determined I/O request pattern;
updating a shared mapping table for the segment mapping mode and the flat hash table mapping mode; and
adjusting an entry of the shared mapping table based on the determined I/O request pattern and a status of the entry.
|