summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom.h
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-10-31 21:11:21 +0000
committerpjd <pjd@FreeBSD.org>2006-10-31 21:11:21 +0000
commitd5cc90945161b6ca3448116aa23c9ae0b75a6e94 (patch)
treebc3a2953fbf55d1341923bd813f3f8dd4551b7bd /sys/geom/geom.h
parent60bc6ceecb65e600a49d7751c905d60ad41a380b (diff)
downloadFreeBSD-src-d5cc90945161b6ca3448116aa23c9ae0b75a6e94.zip
FreeBSD-src-d5cc90945161b6ca3448116aa23c9ae0b75a6e94.tar.gz
Add a new I/O request - BIO_FLUSH, which basically tells providers below to
flush their caches. For now will mostly be used by disks to flush their write cache. Sponsored by: home.pl
Diffstat (limited to 'sys/geom/geom.h')
-rw-r--r--sys/geom/geom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/geom.h b/sys/geom/geom.h
index 5b55624..4d7c5b8 100644
--- a/sys/geom/geom.h
+++ b/sys/geom/geom.h
@@ -268,6 +268,7 @@ struct bio * g_duplicate_bio(struct bio *);
void g_destroy_bio(struct bio *);
void g_io_deliver(struct bio *bp, int error);
int g_io_getattr(const char *attr, struct g_consumer *cp, int *len, void *ptr);
+int g_io_flush(struct g_consumer *cp);
void g_io_request(struct bio *bp, struct g_consumer *cp);
struct bio *g_new_bio(void);
struct bio *g_alloc_bio(void);
OpenPOWER on IntegriCloud