All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ib_core: Enable and expose force_mr module parameter
@ 2017-05-15 14:52 Chuck Lever
       [not found] ` <20170515145203.10708.16921.stgit-Hs+gFlyCn65vLzlybtyyYzGyq/o6K9yX@public.gmane.org>
  0 siblings, 1 reply; 28+ messages in thread
From: Chuck Lever @ 2017-05-15 14:52 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA

The fourth parameter of the module_param_named macro is a set of
file permissions. Passing 0 there means that module parameter is
not created and that adding "options ib_core force_mr=1" to a
modprobe.conf file has no effect.

The default setting of rdma_rw_force_mr continues to be 0, or false.

Fixes: a060b5629ab0 ("IB/core: generic RDMA READ/WRITE API")
Signed-off-by: Chuck Lever <chuck.lever-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
---
 drivers/infiniband/core/rw.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/core/rw.c b/drivers/infiniband/core/rw.c
index dbfd854..1cc8f07 100644
--- a/drivers/infiniband/core/rw.c
+++ b/drivers/infiniband/core/rw.c
@@ -23,7 +23,7 @@ enum {
 };
 
 static bool rdma_rw_force_mr;
-module_param_named(force_mr, rdma_rw_force_mr, bool, 0);
+module_param_named(force_mr, rdma_rw_force_mr, bool, 0644);
 MODULE_PARM_DESC(force_mr, "Force usage of MRs for 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

^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [PATCH] ib_core: Enable and expose force_mr module parameter
@ 2017-06-19 15:26 Chuck Lever
       [not found] ` <20170619152351.2866.11046.stgit-Hs+gFlyCn65vLzlybtyyYzGyq/o6K9yX@public.gmane.org>
  0 siblings, 1 reply; 28+ messages in thread
From: Chuck Lever @ 2017-06-19 15:26 UTC (permalink / raw)
  To: doug.ledford-H+wXaHxf7aLQT0dZR+AlfA; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

The fourth parameter of the module_param_named macro is a set of
file permissions. Passing 0 there means that module parameter is
not created and that adding "options ib_core force_mr=1" to a
modprobe.conf file has no effect.

The default setting of rdma_rw_force_mr continues to be 0, or false.

Fixes: a060b5629ab0 ("IB/core: generic RDMA READ/WRITE API")
Signed-off-by: Chuck Lever <chuck.lever-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
---
Hi Doug-

This doesn't seem appropriate to go through Bruce's tree for 4.13.

Last discussion didn't seem to conclude with full consensus.
Probably people don't care enough one way or another. But I'd like
to see this get fixed if there aren't strong objections. Would you
take it for 4.13?


 drivers/infiniband/core/rw.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/core/rw.c b/drivers/infiniband/core/rw.c
index dbfd854..1cc8f07 100644
--- a/drivers/infiniband/core/rw.c
+++ b/drivers/infiniband/core/rw.c
@@ -23,7 +23,7 @@ enum {
 };
 
 static bool rdma_rw_force_mr;
-module_param_named(force_mr, rdma_rw_force_mr, bool, 0);
+module_param_named(force_mr, rdma_rw_force_mr, bool, 0644);
 MODULE_PARM_DESC(force_mr, "Force usage of MRs for 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

^ permalink raw reply related	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2017-06-28 15:41 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-15 14:52 [PATCH] ib_core: Enable and expose force_mr module parameter Chuck Lever
     [not found] ` <20170515145203.10708.16921.stgit-Hs+gFlyCn65vLzlybtyyYzGyq/o6K9yX@public.gmane.org>
2017-05-15 14:57   ` Leon Romanovsky
     [not found]     ` <20170515145757.GI3616-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-05-15 15:09       ` Chuck Lever
     [not found]         ` <02AFF424-A387-47F7-BD24-61C7734B9008-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2017-05-15 17:00           ` Leon Romanovsky
     [not found]             ` <20170515170021.GJ3616-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-05-15 17:22               ` Chuck Lever
     [not found]                 ` <AE3152CC-B7C8-4C51-ADDE-C3822533BB94-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2017-05-15 17:46                   ` Jason Gunthorpe
     [not found]                     ` <20170515174646.GC6229-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-05-15 18:55                       ` Leon Romanovsky
2017-05-16  5:42                   ` Christoph Hellwig
     [not found]                     ` <20170516054256.GA4013-jcswGhMUV9g@public.gmane.org>
2017-05-16  7:22                       ` Sagi Grimberg
     [not found]                         ` <d46b0a41-92c2-2ce2-5cf2-ac5c6c3811cd-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
2017-05-16 14:57                           ` Chuck Lever
2017-06-19 15:26 Chuck Lever
     [not found] ` <20170619152351.2866.11046.stgit-Hs+gFlyCn65vLzlybtyyYzGyq/o6K9yX@public.gmane.org>
2017-06-19 15:30   ` Christoph Hellwig
2017-06-20  7:24   ` Sagi Grimberg
2017-06-20  7:32   ` Leon Romanovsky
     [not found]     ` <20170620073236.GO17846-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-06-20 15:43       ` Chuck Lever
     [not found]         ` <DE0C511C-A4CB-4D76-8BA7-6BFF81F590B3-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2017-06-20 18:03           ` Leon Romanovsky
     [not found]             ` <20170620180348.GV17846-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-06-20 18:23               ` Chuck Lever
     [not found]                 ` <C27E2410-44B7-451E-8069-DF1444048158-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2017-06-20 18:40                   ` Leon Romanovsky
     [not found]                     ` <20170620184046.GW17846-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-06-21 14:46                       ` Chuck Lever
     [not found]                         ` <B34E95B2-A7D9-4725-B7C2-3DA4DACD29B7-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2017-06-21 14:56                           ` Leon Romanovsky
2017-06-27  9:24                           ` Sagi Grimberg
     [not found]                             ` <16d52534-5564-8137-a8b3-6c66df6bb508-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
2017-06-28  9:56                               ` Leon Romanovsky
     [not found]                                 ` <20170628095640.GB1248-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-06-28 10:15                                   ` Sagi Grimberg
     [not found]                                     ` <64eae30c-9490-b801-550d-d871473f0d29-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
2017-06-28 13:45                                       ` Leon Romanovsky
     [not found]                                         ` <20170628134528.GE1248-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-06-28 14:48                                           ` Sagi Grimberg
     [not found]                                             ` <275acec0-215e-8157-e6a0-4c0f48fe3d75-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
2017-06-28 15:40                                               ` Leon Romanovsky
2017-06-28 14:49                                   ` Chuck Lever
     [not found]                                     ` <373E6A00-8505-468C-A974-DCDAC15A3B7B-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2017-06-28 15:41                                       ` Leon Romanovsky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.