[SPDK] Reading data may cause dirty data(theory )
15735154041 at 163.com Fri, 01 Jul 2022 06:33:54 +0000
| Newsgroups | dev.linux.lists.spdk |
|---|---|
| Message-ID | <[email protected]> |
--===============3090678939247253643== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 1. The process by spdk_nvme_ns_cmd_read read data 2. firmware write data to pcie address space 3. Process Exits unexpectedly=EF=BC=88The firmware does not perceive that t= he process exits abnormally=EF=BC=89 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 physi= cal address (pcie address) in the driver layer. After the firmware gets the physical address, it maps it to read and write --===============3090678939247253643==--