Whamcloud - gitweb
land b_eq on HEAD
[fs/lustre-release.git] / lustre / mgmt / mgmt_svc.c
index 51abb74..8743e72 100644 (file)
@@ -32,7 +32,6 @@
 #include <linux/obd_class.h>
 #include <linux/lustre_net.h>
 
-#define MGMT_NEVENTS     1024UL
 #define MGMT_NBUFS       128UL
 #define MGMT_BUFSIZE     8192
 #define MGMT_MAXREQSIZE  512
@@ -89,10 +88,11 @@ static int mgmt_setup(struct obd_device *obd, obd_count len, void *buf)
         if (mgmt_initialized)
                 RETURN(-EALREADY);
         
-        mgmt_service = ptlrpc_init_svc(MGMT_NEVENTS, MGMT_NBUFS, MGMT_BUFSIZE,
-                                       MGMT_MAXREQSIZE, MGMT_REQUEST_PORTAL,
-                                       MGMT_REPLY_PORTAL, mgmt_handler,
-                                       "mgmt", obd->obd_proc_entry);
+        mgmt_service = 
+                ptlrpc_init_svc(MGMT_NBUFS, MGMT_BUFSIZE, MGMT_MAXREQSIZE, 
+                                MGMT_REQUEST_PORTAL, MGMT_REPLY_PORTAL, 
+                                mgmt_handler, "mgmt",
+                                obd->obd_proc_entry);
         if (!mgmt_service) {
                 CERROR("Failed to start mgmt service\n");
                 RETURN(-ENOMEM);