patch-1.3.78 linux/include/linux/blkdev.h

Next file: linux/include/linux/fs.h
Previous file: linux/include/linux/blk.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.77/linux/include/linux/blkdev.h linux/include/linux/blkdev.h
@@ -4,6 +4,7 @@
 #include <linux/major.h>
 #include <linux/sched.h>
 #include <linux/genhd.h>
+#include <linux/tqueue.h>
 
 /*
  * Ok, this is an expanded form so that we can use the same
@@ -35,7 +36,10 @@
 struct blk_dev_struct {
 	void (*request_fn)(void);
 	struct request * current_request;
+	struct tq_struct plug_tq;
 };
+
+#define IS_PLUGGED(dev) ((dev)->plug_tq.sync)
 
 struct sec_size {
 	unsigned block_size;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this