[SPDK] Re: Error in DMA transfer when process restart
Liu, Changpeng <changpeng.liu at intel.com> Tue, 20 Apr 2021 04:04:29 +0000
| Newsgroups | dev.linux.lists.spdk |
|---|---|
| Message-ID | <BN6PR11MB2020A37227F94B9D7FA36853EE489@BN6PR11MB2020.namprd11.prod.outlook.com> |
The kernel vfio-pci/IOMMU will help to pin memory pages, I think it can cover the case you described here. > -----Original Message----- > From: Weifeng Su <swf504(a)163.com> > Sent: Tuesday, April 20, 2021 11:30 AM > To: spdk(a)lists.01.org > Subject: [SPDK] Error in DMA transfer when process restart > > Hi Expert, > > We are testing a new NVME disk. In the worst case, the DMA feedback > duration of the NVME disk may reach seconds. In this case, I consider that if the > process exits abnormally during the DMA transfer process, After another process > restarts, it applies for the memory that is not finished. As a result, memory > overrun may occur. However, DPDK and SPDK do not handle this problem. I > would like to ask how the spdk is considered in this case? > Any feedbacks are welcome! > > Brs > Su Weifeng > _______________________________________________ > SPDK mailing list -- spdk(a)lists.01.org > To unsubscribe send an email to spdk-leave(a)lists.01.org