Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Aug 2010 02:09:07 +0000 (UTC)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r210989 - projects/ofed/head/sys/ofed/include/linux
Message-ID:  <201008070209.o77297Sg099419@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jeff
Date: Sat Aug  7 02:09:07 2010
New Revision: 210989
URL: http://svn.freebsd.org/changeset/base/210989

Log:
   - Don't forget to pass SLEEPQ_INTERRUPTIBLE if we're going to call
     sleepq_wait_sig().
  
  Sponsored by:	Isilon Systems, iX Systems, and Panasas.

Modified:
  projects/ofed/head/sys/ofed/include/linux/wait.h

Modified: projects/ofed/head/sys/ofed/include/linux/wait.h
==============================================================================
--- projects/ofed/head/sys/ofed/include/linux/wait.h	Sat Aug  7 02:08:33 2010	(r210988)
+++ projects/ofed/head/sys/ofed/include/linux/wait.h	Sat Aug  7 02:09:07 2010	(r210989)
@@ -98,7 +98,8 @@ do {									\
 				sleepq_release(c);			\
 				break;					\
 			}						\
-			sleepq_add(c, NULL, "completion", SLEEPQ_SLEEP, 0); \
+			sleepq_add(c, NULL, "completion",		\
+			    SLEEPQ_SLEEP | SLEEPQ_INTERRUPTIBLE, 0);	\
 			if (sleepq_wait_sig(c, 0))			\
 				_error = -ERESTARTSYS;			\
 		}							\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008070209.o77297Sg099419>