CPC G06F 3/0652 (2013.01) [G06F 3/064 (2013.01); G06F 3/0619 (2013.01); G06F 3/0623 (2013.01); G06F 3/0659 (2013.01); G06F 3/0679 (2013.01); G06F 11/076 (2013.01); G06F 11/0772 (2013.01)] | 20 Claims |
1. A system, comprising:
a plurality of nonvolatile memory blocks in a data storage device; and
a management module configured to:
receive a command to securely erase at least one nonvolatile memory block of the plurality of nonvolatile memory blocks;
determine a plurality of health parameters of the at least one nonvolatile memory block, wherein:
each health parameter of the plurality of health parameters is indicative of usage information of the at least one nonvolatile memory block;
at least one health parameter of the plurality of health parameters is indicative of total usage information for the plurality of nonvolatile memory blocks; and
at least one health parameter of the plurality of health parameters is usage information for a first nonvolatile memory block of the at least one nonvolatile memory block;
determine a weightage rating for each health parameter of the plurality of health parameters, wherein each weightage rating indicates a relative contribution of that health parameter to a failure index;
calculate a range value for each health parameter of the plurality of health parameters based on a percentage measure of that health parameter;
calculate the failure index to predict whether the at least one nonvolatile memory block is likely to be securely erased,
wherein the failure index is based on:
the weightage rating for each health parameter of the plurality of health parameters; and
the range value for each health parameter of the plurality of health parameters; and
execute, responsive to the failure index being less than a threshold, the command to securely erase the at least one nonvolatile memory block.
|