From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bart Van Assche Subject: Re: [PATCH v2 09/12] IB/srp: Do not create an all physical insecure rkey by default Date: Mon, 3 Aug 2015 10:18:34 -0700 Message-ID: <55BFA26A.6010007@sandisk.com> References: <1438298547-21404-1-git-send-email-jgunthorpe@obsidianresearch.com> <1438298547-21404-10-git-send-email-jgunthorpe@obsidianresearch.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1438298547-21404-10-git-send-email-jgunthorpe@obsidianresearch.com> Sender: target-devel-owner@vger.kernel.org To: Jason Gunthorpe , Doug Ledford , linux-rdma@vger.kernel.org Cc: Amir Vadai , Bart Van Assche , Chien Yen , Christoph Hellwig , Dominique Martinet , Eli Cohen , Eric Van Hensbergen , Ido Shamay , Latchesar Ionkov , Or Gerlitz , Roi Dayan , Ron Minnich , Sagi Grimberg , Simon Derr , Tom Tucker , rds-devel@oss.oracle.com, target-devel@vger.kernel.org, v9fs-developer@lists.sourceforge.net List-Id: linux-rdma@vger.kernel.org On 07/30/2015 04:22 PM, Jason Gunthorpe wrote: > diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c > index 19a1356f8b2a..a8003079c232 100644 > --- a/drivers/infiniband/ulp/srp/ib_srp.c > +++ b/drivers/infiniband/ulp/srp/ib_srp.c > @@ -69,7 +69,7 @@ static unsigned int cmd_sg_entries; > static unsigned int indirect_sg_entries; > static bool allow_ext_sg; > static bool prefer_fr; > -static bool register_always; > +static bool register_always = true; > static int topspin_workarounds = 1; Hello Jason, Can you modify this patch such that the default value of prefer_fr is changed from false into true ? The only reason I had not made fast registration the default myself when I introduced FR support in the SRP initiator driver is because at that time the FR code in the SRP initiator was brand new. However, since the introduction of FR support in the SRP initiator that code has been tested extensively (at least inside SanDisk). Thanks, Bart.