Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753155AbbKPSho (ORCPT ); Mon, 16 Nov 2015 13:37:44 -0500 Received: from mail-wm0-f44.google.com ([74.125.82.44]:34580 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751301AbbKPShl (ORCPT ); Mon, 16 Nov 2015 13:37:41 -0500 Subject: Re: [PATCH 3/9] IB: add a helper to safely drain a QP To: Steve Wise , "'Christoph Hellwig'" , linux-rdma@vger.kernel.org References: <1447422410-20891-1-git-send-email-hch@lst.de> <1447422410-20891-4-git-send-email-hch@lst.de> <564851BB.1020004@dev.mellanox.co.il> <564A067B.8030504@opengridcomputing.com> <003001d1209c$ecb70760$c6251620$@opengridcomputing.com> Cc: bart.vanassche@sandisk.com, axboe@fb.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org From: Sagi Grimberg Message-ID: <564A2270.1040004@dev.mellanox.co.il> Date: Mon, 16 Nov 2015 20:37:36 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <003001d1209c$ecb70760$c6251620$@opengridcomputing.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 661 Lines: 15 > After looking at the nes driver, I don't see any common way to support drain w/o some serious driver mods. Since SRP is the only > user, perhaps we can ignore iWARP for this function... But iser/isert essentially does it too (and I think xprtrdma will have it soon)... the modify_qp is invoked from rdma_disconnect() and we do post an 'empty' wr to wait for all the flushes to drain (see iser_conn_terminate). -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/