Whamcloud - gitweb
LU-13510 lnet: Add lnet_lnd_timeout to sysfs
[fs/lustre-release.git] / lnet / lnet / router_proc.c
index 617beec..b517dcf 100644 (file)
@@ -902,6 +902,13 @@ static struct ctl_table lnet_table[] = {
                .mode           = 0644,
                .proc_handler   = &proc_lnet_portal_rotor,
        },
+       {
+               .procname       = "lnet_lnd_timeout",
+               .data           = &lnet_lnd_timeout,
+               .maxlen         = sizeof(lnet_lnd_timeout),
+               .mode           = 0444,
+               .proc_handler   = &proc_dointvec,
+       },
        { .procname = NULL }
 };