[PATCH 2/2 v3] nvme-rdma: Fix command completion race at error recovery

Max Gurtovoy maxg at mellanox.com
Sun Apr 15 06:50:58 PDT 2018



On 4/12/2018 4:37 PM, Christoph Hellwig wrote:
> We really need to keep this code in sync with the various transports,
> chances are any race you see in RDMA will happen elsewhere as well.
> 

I saw that the pci driver calls nvme_pci_disable so it will not get any 
interrupts/completion from the drive. so the nvme_cancel_request loop is 
safe.
Regarding FC we need James here.

If you're talking about pushing it to common code in the core layer, 
then I guess it's a good idea with/without this patchset.



More information about the Linux-nvme mailing list