aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-04-01 12:49:40 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-04-01 12:49:40 +0000
commitaf6ca7f4a9044e82b876ad1ec5f1d52113c981ba (patch)
treeabbe0472832558e42a4cb01c0f351df073f9ce2f /sys/sys
parent4d63e8de710bbe23ce7d39bb0b039be27a72f508 (diff)
downloadsrc-af6ca7f4a9044e82b876ad1ec5f1d52113c981ba.tar.gz
src-af6ca7f4a9044e82b876ad1ec5f1d52113c981ba.zip
Introduce bioq_flush() function.
Notes
Notes: svn path=/head/; revision=112941
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/bio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/bio.h b/sys/sys/bio.h
index c7e81ea8d114..89b68f588647 100644
--- a/sys/sys/bio.h
+++ b/sys/sys/bio.h
@@ -120,6 +120,7 @@ int biowait(struct bio *bp, const char *wchan);
void bioq_disksort(struct bio_queue_head *ap, struct bio *bp);
#define bioqdisksort(foo, bar) bioq_disksort(foo, bar)
struct bio *bioq_first(struct bio_queue_head *head);
+void bioq_flush(struct bio_queue_head *head, struct devstat *stp, int error);
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);