aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/bio.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-01-28 08:39:18 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-01-28 08:39:18 +0000
commit5fcf4e43982faf2d3af35a2251658960ca2013ea (patch)
tree1421c276703192b70743bca8ffb7c24603bf0f4f /sys/sys/bio.h
parent12e524a290a2aa65e5c8192fb8ea4dff942da0f0 (diff)
downloadsrc-5fcf4e43982faf2d3af35a2251658960ca2013ea.tar.gz
src-5fcf4e43982faf2d3af35a2251658960ca2013ea.zip
Bring back the geom_bioqueues, they _are_ a good idea.
ATA will uses these RSN.
Notes
Notes: svn path=/head/; revision=125137
Diffstat (limited to 'sys/sys/bio.h')
-rw-r--r--sys/sys/bio.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/bio.h b/sys/sys/bio.h
index 707f34f3db39..07156e63e9fd 100644
--- a/sys/sys/bio.h
+++ b/sys/sys/bio.h
@@ -47,7 +47,7 @@
struct disk;
struct bio;
-typedef void bio_task_t(struct bio *, void *);
+typedef void bio_task_t(void *);
/*
* The bio structure describes an I/O operation in the kernel.
@@ -122,6 +122,8 @@ void bioq_init(struct bio_queue_head *head);
void bioq_insert_tail(struct bio_queue_head *head, struct bio *bp);
void bioq_remove(struct bio_queue_head *head, struct bio *bp);
+void bio_taskqueue(struct bio *bp, bio_task_t *fund, void *arg);
+
int physio(dev_t dev, struct uio *uio, int ioflag);
#define physread physio
#define physwrite physio