From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH] nvmet-rdma: Don't use the inline buffer in order to avoid allocation for small reads Date: Wed, 3 Aug 2016 11:49:41 +0200 Message-ID: <20160803094941.GA11821@lst.de> References: <1470040599-7294-1-git-send-email-sagi@grimberg.me> <20160802125042.GB13235@lst.de> <157675f0-0576-1cc9-1f99-c0944185e3c5@grimberg.me> <20160802161526.GA14964@obsidianresearch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20160802161526.GA14964-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jason Gunthorpe Cc: Sagi Grimberg , Christoph Hellwig , linux-nvme-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Jens Axboe , Steve Wise , Jay Freyensee , Ming Lin List-Id: linux-rdma@vger.kernel.org On Tue, Aug 02, 2016 at 10:15:26AM -0600, Jason Gunthorpe wrote: > On Tue, Aug 02, 2016 at 04:38:58PM +0300, Sagi Grimberg wrote: > > that is currently being sent (its a rare race condition, but > > theoretically possible). The reason is that we repost the inline data > > buffer for receive before we post the send request. We used to have > > ?? The same buffer is posted at the same time for send and recv? That > is never OK, SRQ or not. We will never POST it for a SEND, but it would be used as the target of RDMA READ / WRITE operations. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html