All of lore.kernel.org
 help / color / mirror / Atom feed
* [SPDK] Re: Error in DMA transfer when process restart
@ 2021-04-20  4:04 Liu, Changpeng
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Changpeng @ 2021-04-20  4:04 UTC (permalink / raw)
  To: spdk

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

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

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

* [SPDK] Re: Error in DMA transfer when process restart
@ 2021-04-21  9:17 Weifeng Su
  0 siblings, 0 replies; 2+ messages in thread
From: Weifeng Su @ 2021-04-21  9:17 UTC (permalink / raw)
  To: spdk

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

We are using aarch64 + SMMU, Is the solution vfio-pci/IOMMU still work?

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

end of thread, other threads:[~2021-04-21  9:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-20  4:04 [SPDK] Re: Error in DMA transfer when process restart Liu, Changpeng
2021-04-21  9:17 Weifeng Su

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.