diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-04-01 12:49:40 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-04-01 12:49:40 +0000 |
commit | af6ca7f4a9044e82b876ad1ec5f1d52113c981ba (patch) | |
tree | abbe0472832558e42a4cb01c0f351df073f9ce2f /sys/sys | |
parent | 4d63e8de710bbe23ce7d39bb0b039be27a72f508 (diff) | |
download | src-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.h | 1 |
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); |