Patent ID: 9678877
Date: 2017-06-13
CPC Classifications: G06F

Claim:
1. A method in a removable memory system comprising a non-volatile memory and a volatile cache memory, the method comprising: receiving, from a host connected with the removable memory system, a session command identifying a start of a session followed by a first set of series of related transactions, wherein the session comprises the first set of series of related transactions, further wherein the session command includes an indication of guarantee of power by the host for a duration of the session; processing the transactions; performing, between the transactions, a background operation that utilizes data that only resides in the volatile cache memory within the removable memory system and that is directly from the host without residing in non-volatile memory, wherein the background operation is internal to the removable memory system, scheduled by, and within the removable memory system without instructions from the host; receiving, from the host, a session end command identifying an end of the session; receiving, from the host, a second set of transactions following the session end command; and in response to the session end command, disabling use of the volatile cache memory for any background operation internal to the removable memory system and sustaining use of the volatile cache memory for the second set of transactions received by the removable memory system from the host.