System and method for non-disruptive upgrade for metadata log with minimal hiccup
AssigneeEMC IP Holding Company LLC
InventorsAmi Sabo, Vladimir Shveidel, Dror Zalstein
Life of this patent
Estimating the term…
Abstract
A method, computer program product, and computer system for controlling, by a computing device, access to a non-volatile memory using a non-volatile lock as a reader of the non-volatile memory. Metadata (MD) non-volatile memory commits may be throttled until capacity of the non-volatile memory is at a threshold capacity.
Claims14
A computer-implemented method comprising:
- controlling, by a computing device, access to a non-volatile memory using a non-volatile lock as a reader of the non-volatile memory;
- throttling metadata (MD) non-volatile memory commits until capacity of the non-volatile memory is at a threshold capacity;
- preventing commits of data during formatting of the non-volatile memory from a first version of the non-volatile memory to a second version of the non-volatile memory using the non-volatile lock as a writer of the non-volatile memory;
- and
- writing to the non-volatile memory based upon, at least in part, the version of the non-volatile memory dictated by a current version of the non-volatile memory under the non-volatile lock,
- wherein the first version held a full version of each changed MD page in the non-volatile memory and the second version held only the difference (delta) between an original page and the changed MD page in the non-volatile memory,
- wherein the formatting of the non-volatile memory is only being changed from the first version to the second version but not vice versa, and
- wherein the non-volatile lock is a lock that guards accesses to read/write to the non-volatile memory while the non-volatile memory is being formatted from the first version to the second version.
A computer program product residing on a non-transitory computer readable storage medium having a plurality of instructions stored thereon which, when executed across one or more processors, causes at least a portion of the one or more processors to perform operations comprising:
- controlling access to a non-volatile memory using a non-volatile lock as a reader of the non-volatile memory;
- throttling metadata (MD) non-volatile memory commits until capacity of the non-volatile memory is at a threshold capacity;
- preventing commits of data during formatting of the non-volatile memory from a first version of the non-volatile memory to a second version of the non-volatile memory using the non-volatile lock as a writer of the non-volatile memory;
- and
- writing to the non-volatile memory based upon, at least in part, the version of the non-volatile memory dictated by a current version of the non-volatile memory under the non-volatile lock,
- wherein the first version held a full version of each changed MD page in the non-volatile memory and the second version held only the difference (delta) between an original page and the changed MD page in the non-volatile memory,
- wherein the formatting of the non-volatile memory is only being changed from the first version to the second version but not vice versa, and
- wherein the non-volatile lock is a lock that guards accesses to read/write to the non-volatile memory while the non-volatile memory is being formatted from the first version to the second version.
A computing system including one or more processors and one or more memories configured to perform operations comprising:
- controlling access to a non-volatile memory using a non-volatile lock as a reader of the non-volatile memory;
- throttling metadata (MD) non-volatile memory commits until capacity of the non-volatile memory is at a threshold capacity;
- preventing commits of data during formatting of the non-volatile memory from a first version of the non-volatile memory to a second version of the non-volatile memory using the non-volatile lock as a writer of the non-volatile memory;
- and
- writing to the non-volatile memory based upon, at least in part, the version of the non-volatile memory dictated by a current version of the non-volatile memory under the non-volatile lock,
- wherein the first version held a full version of each changed MD page in the non-volatile memory and the second version held only the difference (delta) between an original page and the changed MD page in the non-volatile memory,
- wherein the formatting of the non-volatile memory is only being changed from the first version to the second version but not vice versa, and
- wherein the non-volatile lock is a lock that guards accesses to read/write to the non-volatile memory while the non-volatile memory is being formatted from the first version to the second version.
Dependencies are inferred from the claim text.