Re: [PATCH v2 09/12] IB/srp: Do not create an all physical insecure rkey by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux