spdk.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [SPDK] Reading data may cause dirty data(theory)
@ 2022-07-01  6:33 15735154041
  0 siblings, 0 replies; 2+ messages in thread
From: 15735154041 @ 2022-07-01  6:33 UTC (permalink / raw
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 556 bytes --]

1. The process by spdk_nvme_ns_cmd_read read data
2. firmware write data to pcie address space
3. Process Exits unexpectedly(The firmware does not perceive that the process exits abnormally)
4. The pcie address space is allocated to another process
5. Firmware continues to write data to the pcie address space
6. another process read dirty data

SPDK reads data and converts host memory address (virtual address) to physical address (pcie address) in the driver layer.
After the firmware gets the physical address, it maps it to read and write

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [SPDK] Reading data may cause dirty data(theory)
@ 2022-07-01  6:33 15735154041
  0 siblings, 0 replies; 2+ messages in thread
From: 15735154041 @ 2022-07-01  6:33 UTC (permalink / raw
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 556 bytes --]

1. The process by spdk_nvme_ns_cmd_read read data
2. firmware write data to pcie address space
3. Process Exits unexpectedly(The firmware does not perceive that the process exits abnormally)
4. The pcie address space is allocated to another process
5. Firmware continues to write data to the pcie address space
6. another process read dirty data

SPDK reads data and converts host memory address (virtual address) to physical address (pcie address) in the driver layer.
After the firmware gets the physical address, it maps it to read and write

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-01  6:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-01  6:33 [SPDK] Reading data may cause dirty data(theory) 15735154041
  -- strict thread matches above, loose matches on Subject: below --
2022-07-01  6:33 15735154041

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).