linux/drivers/staging
Amir Shehata 7ee384249f staging: lustre: startup lnet acceptor thread dynamically
With DLC it's possible to start up a system with no NIs that require
the acceptor thread, and thus it won't start.  Later on the user
can add an NI that requires the acceptor thread to start, it is
then necessary to start it up.

If the user removes a NI and as a result there are no more
NIs that require the acceptor thread then it should be stopped.
This patch adds logic in the dynamically adding and removing NIs
code to ensure the above logic is implemented.

Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6002
Reviewed-on: http://review.whamcloud.com/13010
Reviewed-by: Isaac Huang <he.huang@intel.com>
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2016-02-22 18:05:49 -08:00
..
android staging: android: Remove unneeded else following a return 2016-02-20 15:24:51 -08:00
board Staging: board: Blank lines aren't necessary before a close brace 2016-02-07 19:57:22 -08:00
clocking-wizard Staging: clocking-wizard: CHECK:Please use a blank line 2016-02-07 20:05:31 -08:00
comedi staging: comedi: COMEDI_BUFINFO: terminate "write" command when stopped 2016-02-20 15:25:58 -08:00
dgnc staging: dgnc: convert to wait_event_interruptible_timeout 2016-02-11 19:51:46 -08:00
emxx_udc staging: emxx_udc: Remove header file 2016-02-22 12:03:22 -08:00
fbtft staging: fbtft: Fix block comment coding style 2016-02-20 15:09:57 -08:00
fsl-mc staging: fsl-mc: Remove unneeded else following a return 2016-02-20 15:14:59 -08:00
fwserial staging: fwserial: (coding-style) rewrite comparisons to NULL as "!fifo->data" 2016-02-07 19:36:14 -08:00
gdm72xx Staging: gdm72xx: Remove wrapper function put_event_entry 2016-02-20 15:36:49 -08:00
gdm724x staging: gdm724x: gdm_mux: Remove create_workqueue() 2016-02-14 16:52:15 -08:00
goldfish staging: goldfish: goldfish_nand: Return correct error code 2016-02-14 16:52:53 -08:00
gs_fpgaboot Staging: gs_fpgaboot: fix data types in gs_fpgaboot.c 2016-02-07 20:07:29 -08:00
iio staging: iio: resolver: fix comparison to NULL 2016-02-20 14:46:35 -08:00
lustre staging: lustre: startup lnet acceptor thread dynamically 2016-02-22 18:05:49 -08:00
media staging: media: davinci_vpfe: remove ret variable in switch statements 2016-02-20 14:56:47 -08:00
most staging: most: hdm-usb: Remove create_workqueue() 2016-02-20 15:02:06 -08:00
mt29f_spinand staging: mt29f_spinand: Remove unneeded else following return 2016-02-20 15:24:51 -08:00
netlogic staging: netlogic: Return zero pointer after failed kmalloc 2016-02-20 14:59:37 -08:00
nvec staging: nvec: Fix alignment with the open parenthesis 2016-02-20 15:28:48 -08:00
octeon Staging: octeon: Remove blank lines after open braces 2016-02-20 15:14:14 -08:00
octeon-usb staging: octeon-usb: make driver name to match the file name 2016-02-20 15:14:01 -08:00
rdma staging: rdma: hfi1: Remove header file 2016-02-22 12:03:22 -08:00
rtl8188eu staging: rtl8188eu: os_dep: Remove header file 2016-02-22 12:03:22 -08:00
rtl8192e staging: rtl8192e: Drop useless initialisation 2016-02-20 15:12:06 -08:00
rtl8192u staging: rtl8192u: Remove create_workqueue() 2016-02-20 15:09:57 -08:00
rtl8712 staging: rtl8712: Replace explicit NULL comparison 2016-02-20 15:18:33 -08:00
rtl8723au staging: rtl8723au: hal: Use macro ARRAY_SIZE 2016-02-20 15:04:11 -08:00
rts5208 Staging: rts5208: rtsx_transport.c: Fix comparisons to NULL 2016-02-20 15:35:42 -08:00
skein skein: fix coding style 2015-10-24 19:30:12 -07:00
slicoss staging: slicoss: Align #define constants 2016-02-11 19:50:11 -08:00
sm750fb staging: sm750fb: Remove header files 2016-02-22 12:03:22 -08:00
speakup staging: speakup: Fix block comment style 2016-02-14 16:49:09 -08:00
ste_rmi4 staging: ste_rmi4: avoid unused function warnings 2016-02-07 20:03:50 -08:00
unisys staging: unisys: Modify boolean assignment 2016-02-11 19:37:15 -08:00
vme drivers: staging: vme: Deleted casting to (void *) 2015-11-24 15:30:50 -08:00
vt6655 staging: vt6655: Add missing blank line after declaration 2016-02-14 16:58:33 -08:00
vt6656 staging: vt6656: simplify tests of successful urb status 2016-02-20 15:22:18 -08:00
wilc1000 staging: wilc1000: wilc_wfi_netdevice: Remove header files 2016-02-22 12:03:22 -08:00
wlan-ng staging: wlan-ng: fix NULL comparison 2016-02-20 14:53:27 -08:00
xgifb staging: xgifb: Fix comment style 2016-02-14 17:01:26 -08:00
Kconfig misc: Move panel driver out of staging 2016-02-03 14:14:22 -08:00
Makefile staging: drop kbuild workaround dummy module from top dir 2016-02-07 18:40:03 -08:00