Transaction management based on metadata
Abstract
Methods, systems, and devices for transaction management based on metadata are described. A host device may transmit a read command to a memory device. Based on the read command, the host device may receive a set of data from the memory device. The host device may also receive metadata associated with the set of data. Based on the metadata, the host device may determine whether the set of data is the data requested by the read command, data requested by a previous read command, or data unrequested by the host device, or some combination. If the set of data is the data requested by the read command or a previous read command, the host device may process the set of data accordingly. If the set of data is data unrequested by the host device, the host device may discard the set of data and retransmit the read command.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. An apparatus, comprising:
a host device coupled with an interface controller and operable to:
transmit, to the interface controller, a read command for a first set of data;
receive, based at least in part on transmitting the read command, a second set of data during a period of time that the first set of data is expected by the host device, the second set of data comprising different data than the first set of data associated with the read command; and
receive, during the period of time, a signal indicating whether the second set of data was requested by the host device.
2. The apparatus of claim 1 , wherein the host device is operable to:
transmit, to the interface controller, a second read command for the second set of data before transmitting the read command for the first set of data, wherein the signal indicates that the second set of data was requested by the host device.
3. The apparatus of claim 2 , wherein the host device is operable to:
receive an indication of an identifier for the second read command; and
receive an indication of an address hash that indicates a memory address of the second set of data.
4. The apparatus of claim 3 , wherein the host device is operable to:
verify that the second set of data is associated with the second read command based at least in part on the identifier for the second read command and the address hash.
5. The apparatus of claim 1 , wherein the host device is operable to:
transmit, to the interface controller, a second read command for a third set of data after receiving the second set of data and the signal indicating that the second set of data was not requested by the host device; and
receive, from the interface controller and during a period of time that the third set of data is expected by the host device, the first set of data and an indication that the first set of data was requested by the host device.
6. The apparatus of claim 1 , wherein the host device is operable to:
discard the second set of data based at least in part on the signal indicating that the second set of data was not requested by the host device; and
transmit a second read command for the first set of data based at least in part on the signal indicating that the second set of data was not requested by the host device.
7. The apparatus of claim 6 , wherein the host device is operable to:
receive, from the interface controller, an indication of a time delay associated with retrieving the second set of data, wherein a timing for transmitting the second read command is based at least in part the time delay.
8. The apparatus of claim 1 , wherein the host device is operable to:
receive the second set of data and the signal according to a predetermined latency.
9. An apparatus, comprising:
a host device coupled with an interface controller and operable to:
transmit a read command for a second set of data to the interface controller;
receive a set of data from the interface controller based at least in part on the read command;
receive an indication of a request status for the set of data, the request status indicating whether the set of data was requested by the host device;
process the set of data based at least in part on the request status for the set of data;
determine, based at least in part on the request status for the set of data, that the set of data was not requested by the host device; and
retransmit the read command for the second set of data based at least in part on the set of data not being requested by the host device.
10. The apparatus of claim 9 , wherein the host device is operable to:
receive an indication of a time delay associated with the interface controller retrieving the second set of data, wherein a timing of retransmitting the read command is based at least in part on the time delay.
11. The apparatus of claim 9 , wherein the host device is operable to process the set of data by being operable to:
discard the set of data based at least in part on determining that the set of data was not requested by the host device.
12. An apparatus comprising:
a host device coupled with an interface controller and operable to:
transmit a read command for a second set of data to the interface controller;
receive a set of data from the interface controller based at least in part on the read command;
receive an indication of a request status for the set of data, the request status indicating whether the set of data was requested by the host device;
determine, based at least in part on the request status for the set of data, that the set of data was requested by the host device;
determine, based at least in part on a read command identifier associated with the set of data, an address hash associated with the set of data, or both, that the set of data was requested by a second read command transmitted before the read command;
process the set of data by communicating the set of data to a component of the apparatus based at least in part on the set of data being requested by the second read command and the host device; and
retransmit, to the interface controller, the read command for the second set of data based at least in part on the set of data being requested by the second read command.
13. An apparatus, comprising:
a host device coupled with an interface controller and operable to:
transmit a read command to the interface controller;
receive a set of data from the interface controller based at least in part on the read command;
receive, concurrent with at least a subset of the set of data, an indication of a request status for the set of data, the request status indicating whether the set of data was requested by the host device; and
process the set of data based at least in part on the request status for the set of data.
14. An apparatus, comprising:
first logic coupled with a first bus interface that is configured to interface with a command and address bus, the first logic configured to issue a read command to an interface controller via the command and address bus;
storage coupled with a second bus interface that is configured to interface with a data bus, the storage configured to receive a set of data over the data bus and store information associated with the read command issued to the interface controller by the first logic;
second logic coupled with the storage, the second logic configured to match the read command with a received set of data based at least in part on the information associated with the read command and metadata received with the set of data; and
a second data bus coupled with the second bus interface and configured to convey the metadata from the interface controller.
15. The apparatus of claim 14 , wherein the first logic is configured to communicate the information associated with the read command to the storage.
16. The apparatus of claim 14 , wherein the second logic is configured to communicate the set of data to a component of the apparatus based at least in part on the match between the read command with the set of data.
17. The apparatus of claim 14 , wherein the metadata comprises a request status of the set of data that indicates whether the set of data was requested by the apparatus.
18. The apparatus of claim 14 , wherein the metadata comprises a read command identifier associated with the set of data, and wherein the second logic is configured to match the read command with the set of data based at least in part on the read command identifier being associated with the read command stored in the storage.
19. The apparatus of claim 14 , wherein the metadata comprises an address hash associated with the set of data, and wherein the second logic is configured to match the read command with the set of data based at least in part on the address hash being associated with address information associated with the read command stored in the storage.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.