svn commit: r286405 - head/sys/geom

Konstantin Belousov kib at FreeBSD.org
Fri Aug 7 08:24:13 UTC 2015


Author: kib
Date: Fri Aug  7 08:24:12 2015
New Revision: 286405
URL: https://svnweb.freebsd.org/changeset/base/286405

Log:
  Minor style cleanup of the code surrounding r286404.
  
  Sponsored by:	The FreeBSD Foundation
  MFC after:	1 week

Modified:
  head/sys/geom/geom_io.c

Modified: head/sys/geom/geom_io.c
==============================================================================
--- head/sys/geom/geom_io.c	Fri Aug  7 08:13:34 2015	(r286404)
+++ head/sys/geom/geom_io.c	Fri Aug  7 08:24:12 2015	(r286405)
@@ -517,11 +517,11 @@ g_io_request(struct bio *bp, struct g_co
 		getbinuptime(&bp->bio_t0);
 
 #ifdef GET_STACK_USAGE
-	direct = (cp->flags & G_CF_DIRECT_SEND) &&
-		 (pp->flags & G_PF_DIRECT_RECEIVE) &&
-		 !g_is_geom_thread(curthread) &&
-		 ((pp->flags & G_PF_ACCEPT_UNMAPPED) != 0 ||
-		 (bp->bio_flags & BIO_UNMAPPED) == 0 || THREAD_CAN_SLEEP());
+	direct = (cp->flags & G_CF_DIRECT_SEND) != 0 &&
+	    (pp->flags & G_PF_DIRECT_RECEIVE) != 0 &&
+	    !g_is_geom_thread(curthread) &&
+	    ((pp->flags & G_PF_ACCEPT_UNMAPPED) != 0 ||
+	    (bp->bio_flags & BIO_UNMAPPED) == 0 || THREAD_CAN_SLEEP());
 	if (direct) {
 		/* Block direct execution if less then half of stack left. */
 		size_t	st, su;


More information about the svn-src-head mailing list