]> granicus.if.org Git - zfs/commitdiff
Refreshed patch for newer upstream context
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 4 Dec 2008 00:28:35 +0000 (16:28 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 4 Dec 2008 00:28:35 +0000 (16:28 -0800)
.topdeps [new file with mode: 0644]
.topmsg [new file with mode: 0644]
zfs/lib/libzpool/zio.c

diff --git a/.topdeps b/.topdeps
new file mode 100644 (file)
index 0000000..1f7391f
--- /dev/null
+++ b/.topdeps
@@ -0,0 +1 @@
+master
diff --git a/.topmsg b/.topmsg
new file mode 100644 (file)
index 0000000..32ac3c9
--- /dev/null
+++ b/.topmsg
@@ -0,0 +1,6 @@
+From: Brian Behlendorf <behlendorf1@llnl.gov>
+Subject: [PATCH] fix taskq
+
+Don't ever sleep at interrupt time
+
+Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
index d347920ea6bb79a183df87a997da0b03220909d7..a20f971c90f1f276d51e311e4e0326e01a3153f7 100644 (file)
@@ -901,7 +901,7 @@ zio_taskq_dispatch(zio_t *zio, enum zio_taskq_type q)
                t = ZIO_TYPE_NULL;
 
        (void) taskq_dispatch(zio->io_spa->spa_zio_taskq[t][q],
-           (task_func_t *)zio_execute, zio, TQ_SLEEP);
+           (task_func_t *)zio_execute, zio, TQ_NOSLEEP);
 }
 
 static boolean_t