Whamcloud - gitweb
LU-6407 lnet: set task state before scheduling 65/14265/3
authorJohn L. Hammond <john.hammond@intel.com>
Mon, 30 Mar 2015 18:32:46 +0000 (13:32 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 26 Apr 2015 18:58:47 +0000 (18:58 +0000)
commit9002fabc81f6cb1c467c5b89548161579fcd48f6
tree5174fc1c30d213a561ee608f050dddf878a9d74e
parentcfbd77e4cd349f9414552e80e9f78f427ab13b53
LU-6407 lnet: set task state before scheduling

In 0b868add80281c085ce1b297d1cb078deaab802a when libcfs_sock_accept()
was made into lnet_sock_accept() a call to
set_current_state(TASK_INTERRUPTIBLE) got dropped. Restore it.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I132d6a611e5677ad52358178aa566ca805536e61
Reviewed-on: http://review.whamcloud.com/14265
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Amir Shehata <amir.shehata@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/lnet/lib-socket.c