Storage drive and method of executing a compare command
First Claim
1. A data storage device, comprising:
- a memory comprising a non-volatile memory and one or more cache buffers;
a controller coupled to the memory, the controller configured to;
receive a compare command from a host;
fetch protection information from the host;
fetch protection information from the memory, wherein the protection information from the host and from the memory are associated with logical block address (LBA) data, and wherein the protection information from the host and from the memory have a size proportionally smaller than the LBA data;
compare the protection information from the host and the protection information from the memory; and
post a failure notice to the host when the protection information from the host and the protection from the memory do not match.
5 Assignments
0 Petitions
Accused Products
Abstract
A data storage device includes a memory and a controller coupled to the memory. The controller is configured to receive a compare command from a host, fetch or generate protection information from the host, fetch protection information from the memory, compare the protection information from the host and from the memory, and post a failure notice to the host when the protection information from the host and from the memory do not match. If the protection information from the host and from the memory does match, the controller is further configured to compare data fetched from the host and data fetched from the memory, and post a success notice to the host when both the protection information from the host and the memory match and the data from the host and the memory match.
1 Citation
25 Claims
-
1. A data storage device, comprising:
-
a memory comprising a non-volatile memory and one or more cache buffers; a controller coupled to the memory, the controller configured to; receive a compare command from a host; fetch protection information from the host; fetch protection information from the memory, wherein the protection information from the host and from the memory are associated with logical block address (LBA) data, and wherein the protection information from the host and from the memory have a size proportionally smaller than the LBA data; compare the protection information from the host and the protection information from the memory; and post a failure notice to the host when the protection information from the host and the protection from the memory do not match. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A data storage device, comprising:
-
a memory comprising a non-volatile memory and a cache buffer; a controller coupled to the memory, the controller configured to; receive a compare command from a host; compare protection information received from the host and protection information received from the memory, wherein the protection information received from the host and the protection information received from the memory are associated with logical block address (LBA) data, and wherein the protection information received from the host and the protection information received from the memory have a size proportionally smaller than the LBA data; determine that the protection information received from the host and the protection information received from the memory match; and post a success notice to the host. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A method of operating a data storage device, comprising:
-
fetching protection formation from a memory of the data storage device; fetching data from a host; generating protection information based on the data fetched from the host; comparing the generated protection information and the fetched protection information, wherein the generated protection information and the fetched protection information are associated with logical block address (LBA) data, and wherein the generated protection information and the fetched protection information have a size proportionally smaller than the LBA data; and posting a failure notice to the host when the generated protection information and the fetched protection information do not match. - View Dependent Claims (13, 14)
-
-
15. A method of operating a data storage device, comprising:
-
receiving a compare command; determining protection information is enabled; fetching protection information from a host and from a memory in parallel; comparing the protection information from the host and the protection information from the memory; fetching data from the host and from the memory in parallel; comparing the fetched data from the host to the fetched data from the memory; and posting a failure notice to the host when the protection information from the host and the protection information from the memory match, and the data from the host and the data from the memory do not match. - View Dependent Claims (16, 17, 18, 19, 20)
-
-
21. A data storage device, comprising:
-
a non-volatile memory; means for fetching protection information from the non-volatile memory; means for fetching protection information from a host, wherein the protection information from the host and from the non-volatile memory are associated with logical block address (LBA) data, and wherein the protection information from the host from the non-volatile memory have a size proportionally smaller than the LBA data; means for calculating protection information based on data fetched from the host; means for determining whether the protection information from the host and from the non-volatile memory match; and means for fetching data from the non-volatile memory when the protection information from the host and the protection information from the non-volatile memory are determined to match. - View Dependent Claims (22, 23, 24, 25)
-
Specification